Let's say I have this /pages/
directory structure:
/pages/
users.vue
users/
:id.vue
new.vue
What if I want to disattach the page component of new.vue
from the existing component hierarchy? I mean, to have a URL like /users/new
, but NOT no include whatever is in users.vue
.
AFAIK, there were a way of achieving this with vue-router, using a leading slash or something. Any hints on how to get the same in a Nuxt-based project?
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1309">#c1309</a>)</em></sub></div>