-
Notifications
You must be signed in to change notification settings - Fork 354
Expand file tree
/
Copy pathapp.module.ts
More file actions
executable file
·42 lines (36 loc) · 965 Bytes
/
app.module.ts
File metadata and controls
executable file
·42 lines (36 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { Routes, RouterModule } from '@angular/router';
import { Store } from 'store';
// feature modules
import { AuthModule } from '../auth/auth.module';
import { HealthModule } from '../health/health.module';
// containers
import { AppComponent } from './containers/app/app.component';
// components
import { AppHeaderComponent } from './components/app-header/app-header.component';
import { AppNavComponent } from './components/app-nav/app-nav.component';
// routes
export const ROUTES: Routes = [
{ path: '', pathMatch: 'full', redirectTo: 'schedule' }
];
@NgModule({
imports: [
BrowserModule,
RouterModule.forRoot(ROUTES),
AuthModule,
HealthModule
],
declarations: [
AppComponent,
AppHeaderComponent,
AppNavComponent
],
providers: [
Store
],
bootstrap: [
AppComponent
]
})
export class AppModule {}