Open WilliamFalci opened 3 years ago
You can temporarily fix this by going into node_modules/vuex-router-sync/package.json and replace "main":"dist/vuex-router-sync.js" with "main":"dist/vuex-router-sync.cjs.js"
Is vuex-router-sync going to support vue3?
AFAIK it's not needed anymore as you can simply use a getter in your vuex store for the same effect.
E.g.
getters: { route(state) { return router.currentRoute.value } }
Error:
Package.json
Node Version: v14.16.1