redcat-app
redcat design platform web application
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For a detailed explanation on how things work, check out the guide and docs for vue-loader.
Plugin Usage
- axios: 基于 promise 的 HTTP 库 [https://github.com/axios/axios]
- lodash: JavaScript 实用工具库 [https://lodash.com/docs/4.17.10]
Setup
// 代理配置的地址为 rc-test.ywsoftware.cn,该域名需要配置内网 dns 服务器才能解析,dns 服务器地址:172.16.10.237
'/*-api/**': {
target: "http://rc-test.ywsoftware.cn",
changeOrigin: true
}
可通过以下命令解决代理配置不提交的问题
git update-index --assume-unchanged ./config/index.js