Nuxt/examples/nested-routes/nuxt.config.js
2017-07-04 15:41:43 +02:00

29 lines
605 B
JavaScript

module.exports = {
head: {
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' }
]
},
env: {
users: [
{ id: 1, name: 'Kobe Bryant', number: 24 },
{ id: 2, name: 'Michael Jordan', number: 23 },
{ id: 3, name: 'Stephen Curry', number: 30 },
{ id: 4, name: 'Lebron James', number: 23 },
{ id: 5, name: 'Kevin Durant', number: 35 },
{ id: 6, name: 'Kyrie Irving', number: 2 }
]
},
generate: {
routes: [
'/1',
'/2',
'/3',
'/4',
'/5',
'/6'
]
}
}