diff --git a/Resources/Private/Assets/Complete.js b/Resources/Private/Assets/Complete.js new file mode 100644 index 0000000..fd25d24 --- /dev/null +++ b/Resources/Private/Assets/Complete.js @@ -0,0 +1,10 @@ +import Consent from './Plugins/Consent'; +import Media from './Plugins/Media'; +import Methods from './Plugins/Methods'; +import Popup from './Plugins/Popup'; +import Vimeo from './Plugins/Vimeo'; +import YouTube from './Plugins/YouTube'; + +window.addEventListener('alpine:init', () => { + window.Alpine.plugin([Consent, Media, Methods, Popup, Vimeo, YouTube]); +});