aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/app.module.ts
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-02-15 16:08:08 +0800
committercrupest <crupest@outlook.com>2019-02-15 16:08:08 +0800
commitf867fb7fed885c474dda18e9a9ca7b1d64c9407f (patch)
tree9d09e39c6463c332eddb0549974db53a1d4f80fa /Timeline/ClientApp/src/app/app.module.ts
parent3c140656ebe6ed34dda9356a01dbff205651e641 (diff)
downloadtimeline-f867fb7fed885c474dda18e9a9ca7b1d64c9407f.tar.gz
timeline-f867fb7fed885c474dda18e9a9ca7b1d64c9407f.tar.bz2
timeline-f867fb7fed885c474dda18e9a9ca7b1d64c9407f.zip
Develop front end.
Diffstat (limited to 'Timeline/ClientApp/src/app/app.module.ts')
-rw-r--r--Timeline/ClientApp/src/app/app.module.ts11
1 files changed, 9 insertions, 2 deletions
diff --git a/Timeline/ClientApp/src/app/app.module.ts b/Timeline/ClientApp/src/app/app.module.ts
index c16d8bae..e1f45136 100644
--- a/Timeline/ClientApp/src/app/app.module.ts
+++ b/Timeline/ClientApp/src/app/app.module.ts
@@ -3,21 +3,28 @@ import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { RouterModule } from '@angular/router';
+import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
+import { MatMenuModule, MatIconModule, MatButtonModule, MatToolbarModule } from '@angular/material';
import { AppComponent } from './app.component';
import { HomeComponent } from './home/home.component';
+import { TodoListPageComponent } from './todo-list-page/todo-list-page.component';
@NgModule({
declarations: [
AppComponent,
- HomeComponent
+ HomeComponent,
+ TodoListPageComponent
],
imports: [
BrowserModule.withServerTransition({ appId: 'ng-cli-universal' }),
HttpClientModule,
FormsModule,
+ BrowserAnimationsModule,
+ MatMenuModule, MatIconModule, MatButtonModule, MatToolbarModule,
RouterModule.forRoot([
- { path: '', component: HomeComponent, pathMatch: 'full' }
+ { path: '', component: HomeComponent, pathMatch: 'full' },
+ { path: 'todo', component: TodoListPageComponent}
])
],
providers: [],