- 在 environments 文件夹下新建 environment.dev.ts 文件
- 在 angular.json 文件中配置环境
"dev": {
"browserTarget": "seaoil-web:build:dev"
}
完整配置
...
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options"
"dev": {
"browserTarget": "seaoil-web:build:dev"
}
完整配置
...
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options"