diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/_myep.js b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/_myep.js new file mode 100644 index 00000000..0cab089e --- /dev/null +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/_myep.js @@ -0,0 +1,14 @@ +// Initialize vue apps +import Vue from 'vue' +import store from './myep/store' + +new Vue({ + el: '#myep', + store, + components: { + MyEp: () => import('./myep/App.vue'), + }, + created () { + this.$store.dispatch('init'); + }, +}); diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/GroupsPriceCalculator.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/GroupsPriceCalculator.vue index 42b5cf78..43363fc5 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/GroupsPriceCalculator.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/GroupsPriceCalculator.vue @@ -116,10 +116,10 @@ - - \ No newline at end of file diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/ParticipantDataForm.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/ParticipantDataForm.vue index 0d78cc32..44476f3b 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/ParticipantDataForm.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/ParticipantDataForm.vue @@ -53,12 +53,3 @@ } } - - diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/PickupSelect.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/PickupSelect.vue index 941d593b..4edd8e39 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/PickupSelect.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/PickupSelect.vue @@ -21,8 +21,6 @@ - - diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/TransportationSelect.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/TransportationSelect.vue index 7625328d..7b713640 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/TransportationSelect.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/TransportationSelect.vue @@ -50,16 +50,3 @@ } } - - diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/router/index.js b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/router/index.js similarity index 100% rename from public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/router/index.js rename to public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/router/index.js diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/store/index.js b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/store/index.js similarity index 100% rename from public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/store/index.js rename to public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/store/index.js