Nuxt 2: Exclude route from router magic
Im working on upgrading a project from nuxt 2 to nuxt 3. But because the nuxt 2 project is being used daily we decided to keep the nuxt 2 project running until everything has been ported to nuxt 3.
So when we build nuxt 2 it builds to “../wwwroot” (.NET)
We also made that if we run the nuxt 3 project it builds to “../wwwroot/next”
With the idea that on / it will show us the nuxt 2 project and on /next it will show us the nuxt 3 project.
However. Currently the router of nuxt 2 is blocking access to /next since it’s not a known page by the router. How do we fix this?
1 Reply
The nuxt 3 project does show if I go to /next/index.html but I’d rather want it to show if I go to /next/