Files
SOP/sop-website/sop-website-vue/README.md
tanghc 84856e6865 4.2.0
2020-11-09 16:03:18 +08:00

22 lines
655 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ISV管理后台
前提先安装好npm[npm安装教程](https://blog.csdn.net/zhangwenwu2/article/details/52778521)
- 启动服务端程序,运行`WebsiteServerApplication.java`
- `cd sop-website-vue`
- 执行`npm install --registry=https://registry.npm.taobao.org`
- 执行`npm run dev`,访问`http://localhost:9529/`
## 修改端口号
打开`vue.config.js`,找到`port`属性
## 修改请求url
- 开发环境:打开`.env.development`文件,修改`VUE_APP_BASE_API`
- 生产环境:打开`.env.production`文件,修改`VUE_APP_BASE_API`
## 构建
开发完毕后,运行`build.sh`脚本生成后的内容在dist目录