mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-30 10:29:42 +00:00
pass props to ButtonLocation
This commit is contained in:
@@ -12,11 +12,10 @@ const root = window.vueRootComponent;
|
||||
* Load all App component, for AccompanyingCourse edition page
|
||||
*/
|
||||
if (root === 'app') {
|
||||
|
||||
initPromise.then(store => {
|
||||
|
||||
|
||||
const i18n = _createI18n(appMessages);
|
||||
|
||||
|
||||
const app = createApp({
|
||||
template: `<app></app>`,
|
||||
})
|
||||
@@ -31,11 +30,10 @@ if (root === 'app') {
|
||||
* Load only Banner sub-component, for all others AccompanyingCourse page
|
||||
*/
|
||||
if (root === 'banner') {
|
||||
|
||||
initPromise.then(store => {
|
||||
|
||||
|
||||
const i18n = _createI18n(appMessages);
|
||||
|
||||
|
||||
const app = createApp({
|
||||
template: `<banner></banner>`,
|
||||
})
|
||||
@@ -44,5 +42,5 @@ if (root === 'banner') {
|
||||
.component('banner', Banner)
|
||||
.mount('#banner-accompanying-course');
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user