diff --git a/package.json b/package.json index 9abca90..27be1b9 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "author": "若依", "license": "MIT", "scripts": { - "dev": "vue-cli-service serve", - "build:prod": "vue-cli-service build", + "dev": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve", + "build:prod": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build", "build:stage": "vue-cli-service build --mode staging", "preview": "node build/index.js --preview", "lint": "eslint --ext .js,.vue src" diff --git a/vue.config.js b/vue.config.js index e1ec055..c5bbc73 100644 --- a/vue.config.js +++ b/vue.config.js @@ -7,7 +7,7 @@ function resolve(dir) { const CompressionPlugin = require('compression-webpack-plugin') -const name = process.env.VUE_APP_TITLE || '澳柯玛MES' // 网页标题 +const name = process.env.VUE_APP_TITLE || '澳柯玛注塑车间MES' // 网页标题 const port = process.env.port || process.env.npm_config_port || 80 // 端口