You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tanghc
309707f4a3
|
4 years ago | |
---|---|---|
.. | ||
build | 4 years ago | |
mock | 4 years ago | |
public | 4 years ago | |
src | 4 years ago | |
tests/unit | 4 years ago | |
.editorconfig | 4 years ago | |
.env.development | 4 years ago | |
.env.production | 4 years ago | |
.env.staging | 4 years ago | |
.eslintignore | 4 years ago | |
.eslintrc.js | 4 years ago | |
.gitignore | 4 years ago | |
.postcssrc.js | 4 years ago | |
.travis.yml | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
babel.config.js | 4 years ago | |
build.sh | 4 years ago | |
jest.config.js | 4 years ago | |
package.json | 4 years ago | |
vue.config.js | 4 years ago |
README.md
ISV管理后台
前提:先安装好npm,npm安装教程
- 启动服务端程序,运行
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目录