mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
use GANCIO_DATA env
This commit is contained in:
parent
87ec9c579d
commit
cc5011b940
2 changed files with 6 additions and 7 deletions
|
@ -54,9 +54,10 @@ module.exports = {
|
||||||
*/
|
*/
|
||||||
modules: [
|
modules: [
|
||||||
// Doc: https://axios.nuxtjs.org/usage
|
// Doc: https://axios.nuxtjs.org/usage
|
||||||
'./@nuxtjs/axios',
|
'@nuxtjs/axios',
|
||||||
'./@nuxtjs/auth',
|
'@nuxtjs/auth',
|
||||||
// ['nuxt-express-module', { expressPath: 'server/', routesPath: 'server/routes' }]
|
['nuxt-express-module', { expressPath: 'server/', routesPath: 'server/routes' }],
|
||||||
|
'@/server/initialize.server.js'
|
||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -92,12 +93,10 @@ module.exports = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
buildModules: [
|
buildModules: [
|
||||||
'nuxt-build-optimisations',
|
'nuxt-build-optimisations',
|
||||||
'@nuxtjs/vuetify',
|
'@nuxtjs/vuetify',
|
||||||
['nuxt-express-module', { expressPath: 'server/', routesPath: 'server/routes' }],
|
// ['nuxt-express-module', { expressPath: 'server/', routesPath: 'server/routes' }],
|
||||||
'@/plugins/initialize.server.js'
|
|
||||||
],
|
],
|
||||||
vuetify: {
|
vuetify: {
|
||||||
defaultAssets: false,
|
defaultAssets: false,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
const pkg = require('../package.json')
|
const pkg = require('../package.json')
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
|
|
||||||
process.env.cwd = path.resolve('./')
|
process.env.cwd = process.env.GANCIO_DATA || path.resolve('./')
|
||||||
|
|
||||||
process.chdir(path.resolve(__dirname, '..'))
|
process.chdir(path.resolve(__dirname, '..'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue