Unverified Commit 692f0f87 by Sendya

fix: production remove setting menu

parent cfc3bbcd
NODE_ENV=production
VUE_APP_PREVIEW=false
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
"build": "vue-cli-service build", "build": "vue-cli-service build",
"build:preview": "vue-cli-service build --mode preview",
"lint": "vue-cli-service lint", "lint": "vue-cli-service lint",
"lint:nofix": "vue-cli-service lint --no-fix", "lint:nofix": "vue-cli-service lint --no-fix",
"test:unit": "vue-cli-service test:unit", "test:unit": "vue-cli-service test:unit",
...@@ -21,7 +22,6 @@ ...@@ -21,7 +22,6 @@
"md5": "^2.2.1", "md5": "^2.2.1",
"moment": "^2.24.0", "moment": "^2.24.0",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"opencollective-postinstall": "^2.0.2",
"viser-vue": "^2.3.3", "viser-vue": "^2.3.3",
"vue": "^2.5.22", "vue": "^2.5.22",
"vue-clipboard2": "^0.2.1", "vue-clipboard2": "^0.2.1",
...@@ -29,8 +29,7 @@ ...@@ -29,8 +29,7 @@
"vue-ls": "^3.2.0", "vue-ls": "^3.2.0",
"vue-router": "^3.0.1", "vue-router": "^3.0.1",
"vue-svg-component-runtime": "^1.0.1", "vue-svg-component-runtime": "^1.0.1",
"vuex": "^3.1.0", "vuex": "^3.1.0"
"opencollective": "^1.0.3"
}, },
"devDependencies": { "devDependencies": {
"@babel/polyfill": "^7.2.5", "@babel/polyfill": "^7.2.5",
...@@ -50,7 +49,9 @@ ...@@ -50,7 +49,9 @@
"less": "^3.8.1", "less": "^3.8.1",
"less-loader": "^4.1.0", "less-loader": "^4.1.0",
"vue-svg-icon-loader": "^2.1.1", "vue-svg-icon-loader": "^2.1.1",
"vue-template-compiler": "^2.5.22" "vue-template-compiler": "^2.5.22",
"opencollective": "^1.0.3",
"opencollective-postinstall": "^2.0.2"
}, },
"eslintConfig": { "eslintConfig": {
"root": true, "root": true,
......
...@@ -23,7 +23,7 @@ export default { ...@@ -23,7 +23,7 @@ export default {
autoHideHeader: false, // auto hide header autoHideHeader: false, // auto hide header
colorWeak: false, colorWeak: false,
multiTab: false, multiTab: false,
production: process.env.NODE_ENV === 'production', production: process.env.NODE_ENV === 'production' && process.env.VUE_APP_PREVIEW !== 'true',
// vue-ls options // vue-ls options
storageOptions: { storageOptions: {
namespace: 'pro__', // key prefix namespace: 'pro__', // key prefix
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment