Home

Issue: 213

Integrating vue-router-sync

[issue link]

Question/Doubt :

Can you please suggest how to integrate vuex-router-sync within the project.

I was following vue-hacker-news example and in that we would import router from the router module and store from the store module and work with vuex-router-sync to sync the two. That was done in the main.js/app.js module which was then exported for client-entry and server-entry modules.

In the NUXT framework we don’t have a main.js or app.js file. Please advise where and how to work with the vuex-router-sync library. Where should i import the router and store from and where should i sync the two.

Thanks.

This feature request is available on Nuxt.js community (#c180)