mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
30 lines
543 B
JavaScript
30 lines
543 B
JavaScript
module.exports = {
|
|
router: {
|
|
base: '/test/',
|
|
extendRoutes (routes) {
|
|
routes.push({
|
|
name: 'about-bis',
|
|
path: '/about-bis',
|
|
component: '~pages/about.vue'
|
|
})
|
|
}
|
|
},
|
|
cache: true,
|
|
plugins: ['~plugins/test.js'],
|
|
loading: '~components/loading',
|
|
env: {
|
|
bool: true,
|
|
num: 23,
|
|
string: 'Nuxt.js'
|
|
},
|
|
build: {
|
|
analyze: {
|
|
analyzerMode: 'disabled',
|
|
generateStatsFile: true
|
|
},
|
|
extend (config, options) {
|
|
config.devtool = 'nosources-source-map'
|
|
}
|
|
}
|
|
}
|