Nuxt/test/fixtures/basic/nuxt.config.js

27 lines
496 B
JavaScript
Raw Normal View History

2017-12-12 10:25:41 +00:00
const path = require('path')
2016-12-21 19:51:43 +00:00
module.exports = {
generate: {
2017-03-17 17:52:46 +00:00
routes: [
'/users/1',
'/users/2',
{ route: '/users/3', payload: { id: 3000 } }
],
interval: 200,
subFolders: true
2017-10-31 11:33:15 +00:00
},
2017-12-12 10:25:41 +00:00
modulesDir: path.join(__dirname, '..', '..', '..', 'node_modules'),
2017-10-31 11:33:15 +00:00
hooks: {
ready(nuxt) {
nuxt.__hook_called__ = true
},
bad: null,
'': true
},
2017-11-21 07:38:12 +00:00
transition: false,
build: {
scopeHoisting: true,
2018-01-13 05:22:11 +00:00
postcss: [require('postcss-cssnext')()]
2017-11-21 07:38:12 +00:00
}
2016-12-21 19:51:43 +00:00
}