|
|
|
@ -8,7 +8,16 @@ import { LinksComponent } from './links/links.component';
|
|
|
|
|
|
|
|
|
|
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
|
|
|
|
|
|
|
|
RouterModule.forRoot([
|
|
|
|
@NgModule({
|
|
|
|
|
|
|
|
declarations: [
|
|
|
|
|
|
|
|
AppComponent,
|
|
|
|
|
|
|
|
AboutComponent,
|
|
|
|
|
|
|
|
ResumeComponent,
|
|
|
|
|
|
|
|
LinksComponent
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
imports: [
|
|
|
|
|
|
|
|
BrowserModule,
|
|
|
|
|
|
|
|
RouterModule.forRoot([
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: 'about',
|
|
|
|
path: 'about',
|
|
|
|
component: AboutComponent
|
|
|
|
component: AboutComponent
|
|
|
|
@ -21,17 +30,7 @@ RouterModule.forRoot([
|
|
|
|
path: 'links',
|
|
|
|
path: 'links',
|
|
|
|
component: LinksComponent
|
|
|
|
component: LinksComponent
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]);
|
|
|
|
])
|
|
|
|
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
|
|
|
|
declarations: [
|
|
|
|
|
|
|
|
AppComponent,
|
|
|
|
|
|
|
|
AboutComponent,
|
|
|
|
|
|
|
|
ResumeComponent,
|
|
|
|
|
|
|
|
LinksComponent
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
imports: [
|
|
|
|
|
|
|
|
BrowserModule
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
providers: [],
|
|
|
|
providers: [],
|
|
|
|
bootstrap: [AppComponent]
|
|
|
|
bootstrap: [AppComponent]
|
|
|
|
|