freelansam 46499a2419 JAVA-13823: Review module names (#12628)
* JAVA-13823: rename struts-2 to struts

* JAVA-13823: rename spring-cloud-bus submodules

* JAVA-13823: rename spring-cloud-config submodules

* JAVA-13823: rename spring-cloud-data-flow submodules

* JAVA-13823: rename spring-cloud-hystrix submodules

* JAVA-13823: rename spring-cloud-netflix-sidecar submodules

* JAVA-13823: rename spring-cloud-zookeeper submodules

* JAVA-13823: rename spring-cloud-zuul-fallback submodules

* JAVA-13823: rename spring-security-web-angular submodules

Co-authored-by: Dhawal Kapil <dhawalkapil@gmail.com>
2022-08-26 16:20:12 +05:30

12 lines
389 B
TypeScript

import { Routes, RouterModule } from '@angular/router';
import { HomeComponent } from './home/home.component';
import { LoginComponent } from './login/login.component';
const appRoutes: Routes = [
{ path: '', component: HomeComponent},
{ path: 'login', component: LoginComponent },
{ path: '**', redirectTo: '' }
];
export const routing = RouterModule.forRoot(appRoutes);