22 lines
567 B
TypeScript
22 lines
567 B
TypeScript
|
import { BrowserModule } from '@angular/platform-browser';
|
||
|
import { NgModule } from '@angular/core';
|
||
|
import { RouterModule } from '@angular/router';
|
||
|
import { AppComponent } from './app.component';
|
||
|
import { MdToolbarModule } from '@angular/material/toolbar';
|
||
|
|
||
|
@NgModule({
|
||
|
declarations: [
|
||
|
AppComponent
|
||
|
],
|
||
|
imports: [
|
||
|
BrowserModule,
|
||
|
MdToolbarModule.forRoot(),
|
||
|
RouterModule.forRoot([
|
||
|
{ path: '', loadChildren: './home-page/home-page.module#HomePageModule'}
|
||
|
])
|
||
|
],
|
||
|
providers: [],
|
||
|
bootstrap: [AppComponent]
|
||
|
})
|
||
|
export class AppModule { }
|