[Vuejs]-How to access namespaced vuex inside router

-1👍

You are just syncing your store with local-storage. You also need to persist it for it to stay on after reload etc.,

You will need to use something like vuex-persist.
https://www.npmjs.com/package/vuex-persist

-1👍

Maybe you get error on “back/me” ?

Try to add “consol.error” in the catch block!

However, why login page has meta “mustLoggedIn” setted true ?

Leave a comment