Home

Issue: 936

How does one add routes from the plugin?

[issue link]

Hello. So, if I want to add some new routes from the plugin using
router.addRoutes. It works, but it does not recognize the route on the first load (say for example I added /login and then load the page mysite.com/login). How do I do this properly if I want to maintain a plugin?

This question is available on Nuxt.js community (#c802)