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