Skip to content

Commit 6ab2670

Browse files
committed
Implement frameware changes
1 parent 8c84a46 commit 6ab2670

File tree

4 files changed

+25
-12
lines changed

4 files changed

+25
-12
lines changed

config/webpack.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = function (options) {
4646
*
4747
* See: http://webpack.github.io/docs/configuration.html#output-path
4848
*/
49-
publicPath: './',
49+
// publicPath: './',
5050
path: helpers.root('dist'),
5151

5252
/**

config/webpack.prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ module.exports = function (env) {
7373
*
7474
* See: http://webpack.github.io/docs/configuration.html#output-path
7575
*/
76-
publicPath: './',
76+
// publicPath: './',
7777
path: helpers.root('dist'),
7878

7979
/**

src/app/app.routes.ts

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,31 @@ export const ROUTES: Routes = [
1313
* @date 2018-02-07 18:52:36
1414
1515
*/
16-
{path: '', redirectTo: 'ui/managementCenter', pathMatch: 'full'},
16+
// {path: '', redirectTo: 'ui/managementCenter', pathMatch: 'full'},
17+
// {
18+
// path: 'managementCenter',
19+
// loadChildren: 'app/management-center/management-center.module#ManagementCenterModule',
20+
// },
21+
// {
22+
// path: 'ui/workflowCenter',
23+
// loadChildren: 'app/workflow-center/workflow-center.module#WorkflowCenterModule',
24+
// },
25+
// {
26+
// path: 'ui/solutionCenter',
27+
// loadChildren: 'app/solution-center/solution-center.module#SolutionCenterModule',
28+
// },
29+
{path: '', redirectTo: '/managementCenter/nodes', pathMatch: 'full'},
1730
{
18-
path: 'ui/workflowCenter',
19-
loadChildren: 'app/workflow-center/workflow-center.module#WorkflowCenterModule',
31+
path: 'managementCenter',
32+
loadChildren: 'app/management-center/management-center.module#ManagementCenterModule',
2033
},
2134
{
22-
path: 'ui/solutionCenter',
23-
loadChildren: 'app/solution-center/solution-center.module#SolutionCenterModule',
35+
path: 'workflowCenter',
36+
loadChildren: 'app/workflow-center/workflow-center.module#WorkflowCenterModule',
2437
},
2538
{
26-
path: 'ui/workflowEditor',
27-
loadChildren: 'app/workflow-editor/workflow-editor.module#WorkflowEditorModule',
39+
path: 'solutionCenter',
40+
loadChildren: 'app/solution-center/solution-center.module#SolutionCenterModule',
2841
},
2942
// 404 page, page with ** can not be lazily loaded.
3043
{path: '**', component: NoContentComponent},

src/app/header/header.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
</a>
77
</div>
88
<div class="header-nav">
9-
<a routerLink="ui/managementCenter" routerLinkActive="active" class="nav-link"><span class="nav-text">Management Center</span></a>
10-
<a routerLink="ui/workflowCenter" routerLinkActive="active" class=" nav-link"><span class="nav-text">Workflow Center</span></a>
11-
<a routerLink="ui/solutionCenter" routerLinkActive="active" class="nav-link"><span class="nav-text">Solution Center</span></a>
9+
<a routerLink="managementCenter" routerLinkActive="active" class="nav-link"><span class="nav-text">Management Center</span></a>
10+
<a routerLink="workflowCenter" routerLinkActive="active" class=" nav-link"><span class="nav-text">Workflow Center</span></a>
11+
<a routerLink="solutionCenter" routerLinkActive="active" class="nav-link"><span class="nav-text">Solution Center</span></a>
1212
</div>
1313
<div class="header-actions">
1414
<div class="active nav-link nav-icon" (click)="openSetting=true" style="cursor:pointer" >

0 commit comments

Comments
 (0)