[monitor]服务端编译打包脚本
This commit is contained in:
@@ -2,4 +2,9 @@
|
||||
|
||||
> 前端工程
|
||||
|
||||
**面向开发者,易用友好的高性能监控云服务**
|
||||
**面向开发者,易用友好的高性能监控云服务**
|
||||
|
||||
|
||||
## 编译打包
|
||||
|
||||
```ng build --prod --base-href /console/```
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user