N
Nuxt12mo ago
DraftMan

Disabling router

Hi there :om_hello: I'm trying to disable the router of Nuxt since i'm building a single page application. For now i only have the app.vue file without layouts or pages. How could i disable others routes /random-url is giving me the same page as /.
1 Reply
Cue
Cue12mo ago
Nuxt
Custom routing
In Nuxt 3, your routing is defined by the structure of your files inside the pages directory. However, since it uses vue-router under the hood, Nuxt offers you several ways to add custom routes in your project.