17 lines
417 B
TypeScript
17 lines
417 B
TypeScript
|
import { BrowserModule } from '@angular/platform-browser';
|
||
|
import { NgModule } from '@angular/core';
|
||
|
|
||
|
import { AppComponent } from './app.component';
|
||
|
import { RouterModule } from '@angular/router';
|
||
|
|
||
|
@NgModule({
|
||
|
declarations: [AppComponent],
|
||
|
imports: [
|
||
|
BrowserModule,
|
||
|
RouterModule.forRoot([], { initialNavigation: 'enabled' })
|
||
|
],
|
||
|
providers: [],
|
||
|
bootstrap: [AppComponent]
|
||
|
})
|
||
|
export class AppModule {}
|