任一存 2 years ago
parent
commit
5301907d22
1 changed files with 1 additions and 0 deletions
  1. 1 0
      vue.config.js

+ 1 - 0
vue.config.js

@@ -1,6 +1,7 @@
 const fs = require('fs');
 const path = require('path');
 
+process.env.VUE_APP_VERSION = require('./package.json').version
 
 module.exports = {
   publicPath: "./",