Nuxt/test/fixtures/basic/nuxt.config.js
2018-03-16 19:42:06 +03:30

27 lines
489 B
JavaScript

import path from 'path'
export default {
generate: {
routes: [
'/users/1',
'/users/2',
{ route: '/users/3', payload: { id: 3000 } }
],
interval: 200,
subFolders: true
},
modulesDir: path.join(__dirname, '..', '..', '..', 'node_modules'),
hooks: {
ready(nuxt) {
nuxt.__hook_called__ = true
},
bad: null,
'': true
},
transition: false,
build: {
scopeHoisting: true,
postcss: [require('postcss-cssnext')()]
}
}