Procházet zdrojové kódy

修改 部署文件

test
chenJinxu před 11 měsíci
rodič
revize
0bb2daf48d
3 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. +1
    -1
      package.json
  2. +1
    -1
      setup_test.sh
  3. +1
    -1
      vue.config.js

+ 1
- 1
package.json Zobrazit soubor

@@ -5,7 +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-test": "vue-cli-service build",
"build-test": "vue-cli-service build --mode test",
"lint": "vue-cli-service lint", "lint": "vue-cli-service lint",
"deps": "yarn upgrade-interactive --latest", "deps": "yarn upgrade-interactive --latest",
"dev": "vue-cli-service serve --mode development", "dev": "vue-cli-service serve --mode development",


+ 1
- 1
setup_test.sh Zobrazit soubor

@@ -10,7 +10,7 @@
npm -v npm -v
npm config set registry https://registry.npm.taobao.org npm config set registry https://registry.npm.taobao.org
npm install npm install
npm run build
npm run build-test
image_version=$version; image_version=$version;
# 删除镜像 # 删除镜像
docker rmi -f $( docker rmi -f $(


+ 1
- 1
vue.config.js Zobrazit soubor

@@ -6,7 +6,7 @@ const resolve = dir => path.join(__dirname, dir);
// page title // page title
const name = defaultSettings.title || ''; const name = defaultSettings.title || '';
// 生产环境,测试和正式 // 生产环境,测试和正式
const IS_PROD = ['production', 'prod'].includes(process.env.NODE_ENV);
const IS_PROD = ['test'].includes(process.env.NODE_ENV);


const { defineConfig } = require('@vue/cli-service'); const { defineConfig } = require('@vue/cli-service');
// externals // externals


Načítá se…
Zrušit
Uložit