配置服务的由来,请看这篇文章,如何基于GitLab优雅的管理项目配置数据
- 先配置好服务端接口
- 在
src
目录下添加config.js
配置文件- 安装前端依赖
npm install
- 安装前端依赖
npm run serve
export default {
'gitlab-config-server.domain': 'http://localhost:9090'
}
配置服务的由来,请看这篇文章,如何基于GitLab优雅的管理项目配置数据
- 先配置好服务端接口
- 在
src
目录下添加config.js
配置文件- 安装前端依赖
npm install
- 安装前端依赖
npm run serve
export default {
'gitlab-config-server.domain': 'http://localhost:9090'
}