Add base url
This commit is contained in:
parent
071f3be43f
commit
eedb86c7fd
|
|
@ -12,6 +12,9 @@ module.exports = {
|
||||||
css: [
|
css: [
|
||||||
'~/assets/main.scss'
|
'~/assets/main.scss'
|
||||||
],
|
],
|
||||||
|
router: {
|
||||||
|
base: process.env.NODE_ENV === 'production' ? '/static/' : '/'
|
||||||
|
},
|
||||||
env: {
|
env: {
|
||||||
baseUrl: process.env.BASE_URL || 'http://localhost:3000'
|
baseUrl: process.env.BASE_URL || 'http://localhost:3000'
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue