From 84856e68651604e732f12e528a676d5701a34157 Mon Sep 17 00:00:00 2001 From: tanghc Date: Mon, 9 Nov 2020 16:03:18 +0800 Subject: [PATCH] 4.2.0 --- sop-website/sop-website-vue/README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/sop-website/sop-website-vue/README.md b/sop-website/sop-website-vue/README.md index 722a8875..933020ab 100644 --- a/sop-website/sop-website-vue/README.md +++ b/sop-website/sop-website-vue/README.md @@ -8,8 +8,15 @@ - 执行`npm run dev`,访问`http://localhost:9529/` -- 修改端口号:打开`vue.config.js`,找到`port`属性 +## 修改端口号 + +打开`vue.config.js`,找到`port`属性 + +## 修改请求url + +- 开发环境:打开`.env.development`文件,修改`VUE_APP_BASE_API` +- 生产环境:打开`.env.production`文件,修改`VUE_APP_BASE_API` ## 构建 -开发完毕后,运行`build.sh`脚本 \ No newline at end of file +开发完毕后,运行`build.sh`脚本,生成后的内容在dist目录 \ No newline at end of file