Add base url

This commit is contained in:
Ramon Wenger 2018-08-09 10:34:56 +02:00
parent 071f3be43f
commit eedb86c7fd
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,9 @@ module.exports = {
css: [
'~/assets/main.scss'
],
router: {
base: process.env.NODE_ENV === 'production' ? '/static/' : '/'
},
env: {
baseUrl: process.env.BASE_URL || 'http://localhost:3000'
},