[Vuejs]-Vue set value in session storage not reflecting in data

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')
})

Leave a comment