Home

Issue: 1470

Allow a particular nested page to be nested in terms of URL only

[issue link]

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?

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