Nuxt/examples/custom-routes/nuxt.config.js
Sébastien Chopin cf24b926a1 Version 0.1.6
- Add example /custom-routes/
- Rename example/with-store/ to examples/vuex-store/
- Feature: Add .vue at the end of the component if not specified in
custom routes
- Feature: Add .params and .query in the context
- Feature: Add .name in route if given in custom routes
2016-11-07 21:38:51 +01:00

6 lines
108 B
JavaScript

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