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
commit3517512c4a6fa7eb61b8c5e5eca38c52c5577631 (patch)
tree1a5bf9be6a45b91f5b770c1ed0935246df93346a /Timeline/ClientApp/src/app/app.module.ts
parent7024bc9666e62cc33f651e7a060235d17bd51f25 (diff)
downloadtimeline-3517512c4a6fa7eb61b8c5e5eca38c52c5577631.tar.gz
timeline-3517512c4a6fa7eb61b8c5e5eca38c52c5577631.tar.bz2
timeline-3517512c4a6fa7eb61b8c5e5eca38c52c5577631.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: [],