Nuxt/examples/custom-routes/nuxt.config.js
2016-11-10 17:16:37 +01:00

8 lines
126 B
JavaScript

module.exports = {
router: {
routes: [
{ name: 'user', path: '/users/:id', component: 'pages/_user' }
]
}
}