Browse Source

feature(ng-template): add progress-bar to app component

add ** route
pull/1562/head
mehmet-erim 7 years ago
parent
commit
7cceb9b159
  1. 1
      templates/app/angular/src/app/app-routing.module.ts
  2. 1
      templates/app/angular/src/app/app.component.ts

1
templates/app/angular/src/app/app-routing.module.ts

@ -32,6 +32,7 @@ const routes: Routes = [
import('./lazy-libs/tenant-management-wrapper.module').then(m => m.TenantManagementWrapperModule),
data: { routes: TENANT_MANAGEMENT_ROUTES },
},
{ path: '**', redirectTo: '/' },
];
@NgModule({

1
templates/app/angular/src/app/app.component.ts

@ -3,6 +3,7 @@ import { Component } from '@angular/core';
@Component({
selector: 'app-root',
template: `
<abp-loader-bar></abp-loader-bar>
<router-outlet></router-outlet>
`,
})

Loading…
Cancel
Save