This commit is contained in:
Pooya Parsa 2017-12-12 13:55:41 +03:30
parent b5ff5a167d
commit edfc42086f

View File

@ -1,3 +1,5 @@
const path = require('path')
module.exports = { module.exports = {
generate: { generate: {
routes: [ routes: [
@ -8,6 +10,7 @@ module.exports = {
interval: 200, interval: 200,
subFolders: true subFolders: true
}, },
modulesDir: path.join(__dirname, '..', '..', '..', 'node_modules'),
hooks: { hooks: {
ready(nuxt) { ready(nuxt) {
nuxt.__hook_called__ = true nuxt.__hook_called__ = true