mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-01 01:47:11 +00:00
16 lines
464 B
JavaScript
16 lines
464 B
JavaScript
module.exports = {
|
|
build: {
|
|
vendor: ['axios']
|
|
},
|
|
generate: {
|
|
routeParams: {
|
|
'/users/:id': [{id: 1}, {id: 2}, {id: 3}, {id: 4}, {id: 5}],
|
|
'/posts/:slug': [{slug: 'foo'}, {slug: 'bar'}],
|
|
'/posts/:slug/comments': [{slug: 'foo'}, {slug: 'bar'}],
|
|
'/posts/:slug/:name': [{slug: 'foo', name: 'b'}, {slug: 'bar', name: 'a'}],
|
|
'/projects/:slug': [{slug: 'toto'}, {slug: 'titi'}, {slug: 'tutu'}]
|
|
}
|
|
},
|
|
transition: 'fade'
|
|
}
|