# BaseFramework **Repository Path**: kerwin-L/BaseFramework ## Basic Information - **Project Name**: BaseFramework - **Description**: No description available - **Primary Language**: JavaScript - **License**: AFL-3.0 - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-20 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 开发 ```bash # 安装依赖 npm install # 修改后台服务连接地址,打开【vue.config.js line:36 target参数】,修改代理目标地址 # 目前后台接口未做跨域处理,暂使用代理方式进行访问 proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { target: `http://127.0.0.1:8089`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: '' } } }, # 启动服务 npm run dev ``` 浏览器访问 http://localhost:80 ## 发布 ```bash # 构建测试环境 npm run build:stage # 构建生产环境 npm run build:prod ```