Last change
on this file since fad8134 was ec6ac45, checked in by Mile Jankuloski <mile.jankuloski@…>, 4 years ago |
Adjusments
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[30a465f] | 1 | import { BrowserModule } from '@angular/platform-browser';
|
---|
| 2 | import { NgModule } from '@angular/core';
|
---|
| 3 | import { FormsModule } from '@angular/forms';
|
---|
| 4 | import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
|
---|
| 5 | import { RouterModule } from '@angular/router';
|
---|
| 6 |
|
---|
| 7 | import { AppComponent } from './app.component';
|
---|
| 8 | import { NavMenuComponent } from './nav-menu/nav-menu.component';
|
---|
| 9 | import { HomeComponent } from './home/home.component';
|
---|
| 10 | import { CounterComponent } from './counter/counter.component';
|
---|
| 11 | import { FetchDataComponent } from './fetch-data/fetch-data.component';
|
---|
[ec6ac45] | 12 | import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
---|
| 13 | import { 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 | })
|
---|
| 39 | export class AppModule { }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.