source: Farmatiko/ClientApp/src/app/app.module.ts@ c406ae5

Last change on this file since c406ae5 was de18858, checked in by Mile Jankuloski <mile.jankuloski@…>, 4 years ago

Prepared and improved components for data flows

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[30a465f]1import { BrowserModule } from '@angular/platform-browser';
2import { NgModule } from '@angular/core';
3import { FormsModule } from '@angular/forms';
4import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
5import { RouterModule } from '@angular/router';
[785b8bd]6import { MaterialModule } from './shared/material.module';
7import { ReactiveFormsModule } from '@angular/forms';
[30a465f]8
9import { AppComponent } from './app.component';
10import { NavMenuComponent } from './nav-menu/nav-menu.component';
11import { HomeComponent } from './home/home.component';
12import { CounterComponent } from './counter/counter.component';
[ec6ac45]13import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
14import { KoronaComponent } from './korona/korona.component';
[785b8bd]15import { AdminComponent } from './admin/admin.component';
16import { DashboardComponent } from './dashboard/dashboard.component';
17import { LoginComponent } from './login/login.component';
[30a465f]18
19@NgModule({
20 declarations: [
21 AppComponent,
22 NavMenuComponent,
23 HomeComponent,
24 CounterComponent,
[785b8bd]25 KoronaComponent,
26 AdminComponent,
27 DashboardComponent,
28 LoginComponent
[30a465f]29 ],
30 imports: [
31 BrowserModule.withServerTransition({ appId: 'ng-cli-universal' }),
32 HttpClientModule,
33 FormsModule,
34 RouterModule.forRoot([
35 { path: '', component: HomeComponent, pathMatch: 'full' },
[ec6ac45]36 { path: 'mapa', component: CounterComponent },
[785b8bd]37 { path: 'koronavirus', component: KoronaComponent },
38 { path: 'admin', component: AdminComponent },
39 { path: 'dashboard', component: DashboardComponent },
40 { path: 'login', component: LoginComponent }
[ec6ac45]41 ]),
[785b8bd]42 BrowserAnimationsModule,
43 MaterialModule,
44 ReactiveFormsModule
[30a465f]45 ],
46 providers: [],
47 bootstrap: [AppComponent]
48})
49export class AppModule { }
Note: See TracBrowser for help on using the repository browser.