diff --git a/vue.config.js b/vue.config.js index 674ac871..e32bc3cf 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,3 +1,6 @@ +// Get current version +process.env.VUE_APP_VERSION = require('./package.json').version; + module.exports = { publicPath: process.env.BASE_URL, // || './', chainWebpack: config => {