[monitor]服务端编译打包脚本

This commit is contained in:
tomsun28
2021-12-26 15:08:54 +08:00
parent e846de5b20
commit c839c190ad
17 changed files with 309 additions and 66 deletions

View File

@@ -2,4 +2,9 @@
> 前端工程
**面向开发者,易用友好的高性能监控云服务**
**面向开发者,易用友好的高性能监控云服务**
## 编译打包
```ng build --prod --base-href /console/```

View File

@@ -52,7 +52,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/web-app",
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",

View File

@@ -2,9 +2,9 @@ import { Environment } from '@delon/theme';
export const environment = {
production: true,
useHash: true,
useHash: false,
api: {
baseUrl: './',
baseUrl: '/',
refreshTokenEnabled: true
}
} as Environment;

View File

@@ -9,7 +9,7 @@ import * as MOCK_DATA from '../../_mock';
export const environment = {
production: false,
useHash: true,
useHash: false,
api: {
baseUrl: 'http://localhost:8080/',
refreshTokenEnabled: true