From f148152c412142e1bc3dfc9de9023c1aa617d591 Mon Sep 17 00:00:00 2001 From: Zheng Jie <201507802@qq.com> Date: Wed, 24 Nov 2021 10:39:28 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=83=A8=E5=88=86?= =?UTF-8?q?=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 8 +++----- package.json | 9 ++++----- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.env.development b/.env.development index d9a2132..31ae9c2 100644 --- a/.env.development +++ b/.env.development @@ -1,8 +1,6 @@ ENV = 'development' # 接口地址 -VUE_APP_BASE_API = 'http://localhost:8000' -VUE_APP_WS_API = 'ws://localhost:8000' - -# 是否启用 babel-plugin-dynamic-import-node插件 -VUE_CLI_BABEL_TRANSPILE_MODULES = true +VUE_APP_BASE_API = 'https://el-admin.xin' +# 如果接口是 http 形式, wss 需要改为 ws +VUE_APP_WS_API = 'wss://el-admin.xin' diff --git a/package.json b/package.json index b4f9d87..117f8cb 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,6 @@ "xlsx": "^0.17.4" }, "devDependencies": { - "@babel/core": "7.0.0", "@babel/parser": "^7.7.4", "@babel/register": "7.0.0", "@vue/babel-plugin-transform-vue-jsx": "^1.2.1", @@ -95,15 +94,15 @@ "husky": "1.3.1", "lint-staged": "8.1.5", "plop": "2.3.0", - "runjs": "^4.3.2", - "sass": "^1.26.10", - "sass-loader": "^7.1.0", + "sass": "1.32.13", + "sass-loader": "10.2.0", "script-ext-html-webpack-plugin": "2.1.3", "script-loader": "0.7.2", "serve-static": "^1.13.2", "svg-sprite-loader": "4.1.3", "svgo": "1.2.0", - "vue-template-compiler": "2.6.10" + "tasksfile": "^5.1.1", + "vue-template-compiler": "2.6.14" }, "engines": { "node": ">=8.9", From 7921c092d8eb33bb47709f82d0004d705513c3a6 Mon Sep 17 00:00:00 2001 From: Zheng Jie <201507802@qq.com> Date: Wed, 24 Nov 2021 10:42:53 +0800 Subject: [PATCH 2/2] update --- .env.development | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.env.development b/.env.development index 31ae9c2..d9a2132 100644 --- a/.env.development +++ b/.env.development @@ -1,6 +1,8 @@ ENV = 'development' # 接口地址 -VUE_APP_BASE_API = 'https://el-admin.xin' -# 如果接口是 http 形式, wss 需要改为 ws -VUE_APP_WS_API = 'wss://el-admin.xin' +VUE_APP_BASE_API = 'http://localhost:8000' +VUE_APP_WS_API = 'ws://localhost:8000' + +# 是否启用 babel-plugin-dynamic-import-node插件 +VUE_CLI_BABEL_TRANSPILE_MODULES = true