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

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

Adjusments

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