Nuxt/examples/custom-routes/nuxt.config.js
2016-11-27 18:12:45 +01:00

11 lines
170 B
JavaScript

module.exports = {
router: {
routes: [
{ name: 'user', path: '/users/:id(\\d+)', component: 'pages/_user' }
]
},
build: {
vendor: ['axios']
}
}