source: Farmatiko/ClientApp/src/app/app.module.ts@ 46c298d

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

Adjusments

  • Property mode set to 100644
File size: 1.3 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';
6
7import { AppComponent } from './app.component';
8import { NavMenuComponent } from './nav-menu/nav-menu.component';
9import { HomeComponent } from './home/home.component';
10import { CounterComponent } from './counter/counter.component';
11import { FetchDataComponent } from './fetch-data/fetch-data.component';
[ec6ac45]12import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
13import { KoronaComponent } from './korona/korona.component';
[30a465f]14
15@NgModule({
16 declarations: [
17 AppComponent,
18 NavMenuComponent,
19 HomeComponent,
20 CounterComponent,
[ec6ac45]21 FetchDataComponent,
22 KoronaComponent
[30a465f]23 ],
24 imports: [
25 BrowserModule.withServerTransition({ appId: 'ng-cli-universal' }),
26 HttpClientModule,
27 FormsModule,
28 RouterModule.forRoot([
29 { path: '', component: HomeComponent, pathMatch: 'full' },
[ec6ac45]30 { path: 'mapa', component: CounterComponent },
[30a465f]31 { path: 'fetch-data', component: FetchDataComponent },
[ec6ac45]32 { path: 'koronavirus', component: KoronaComponent }
33 ]),
34 BrowserAnimationsModule
[30a465f]35 ],
36 providers: [],
37 bootstrap: [AppComponent]
38})
39export class AppModule { }
Note: See TracBrowser for help on using the repository browser.