1👍
You ignore the promise returned from your fetchConfig() function (which also returns a promise), so your code just executes immediately:
saveConfigToSession().then(() => {
new Vue({
router,
store,
i18n,
render: (h) => h(App),
}).$mount('#app')
})
- [Vuejs]-VueJs component doesnt show on a laravel blade
- [Vuejs]-Laravel and vuejs project it shows the error "Module not found: Error: Can't resolve './vue/app' in 'C:\vue\todolist\resources\js"
Source:stackexchange.com