Skip to content

Commit

Permalink
fix vlite imports for V6
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienpoly committed Jul 9, 2024
1 parent f59017b commit 3f826de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/assets/stylesheets/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
@import "components/transition.css";
@import "components/typography.css";
@import "components/video.css";

@import "vlitejs/vlite.css";
3 changes: 1 addition & 2 deletions app/javascript/controllers/video_player_controller.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Controller } from '@hotwired/stimulus'
import 'vlitejs/dist/vlite.css'
import Vlitejs from 'vlitejs'
import VlitejsYoutube from 'vlitejs/dist/providers/youtube'
import VlitejsYoutube from 'vlitejs/providers/youtube.js'

Vlitejs.registerProvider('youtube', VlitejsYoutube)

Expand Down

0 comments on commit 3f826de

Please sign in to comment.