app route issue fix when matching route doesn't exist
This commit is contained in:
parent
11e62230d9
commit
d1604bfd88
@ -11,7 +11,8 @@ const routes: Routes = [
|
|||||||
{ path: 'resume', component: ResumeComponent, title: "Bangara Raju - Resume" },
|
{ path: 'resume', component: ResumeComponent, title: "Bangara Raju - Resume" },
|
||||||
{ path: 'projects', component: ProjectsComponent, title: "Bangara Raju - Projects" },
|
{ path: 'projects', component: ProjectsComponent, title: "Bangara Raju - Projects" },
|
||||||
{ path: 'weblog', component: BlogComponent, title: "Bangara Raju - Posts" },
|
{ path: 'weblog', component: BlogComponent, title: "Bangara Raju - Posts" },
|
||||||
{ path: 'contact', component: ContactComponent, title: "Bangara Raju - Contact" }
|
{ path: 'contact', component: ContactComponent, title: "Bangara Raju - Contact" },
|
||||||
|
{ path: '**', redirectTo: ''}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user