added dotenv-webpack, vue.config.js + version to footer

This commit is contained in:
2021-11-07 14:22:33 +01:00
committed by Giovanni Harting
parent 53799adc42
commit 233667c113
5 changed files with 44 additions and 6 deletions

10
vue.config.js Normal file
View File

@@ -0,0 +1,10 @@
const Dotenv = require('dotenv-webpack');
process.env.VUE_APP_VERSION = require('./package.json').version
module.exports = {
configureWebpack: {
plugins: [
new Dotenv()
]
}
}