0👍
In your nuxt
config file, you can leverage the extendedRoutes
function off of the router
object, something like this:
router: {
extendedRoutes(routes, resolve) {
routes.push({
name: '',
path: '',
component: resolve(__dirname, 'pages/your/page.vue')
})
}
}
Source:stackexchange.com