feat(routes): add routing for login and employee views
This commit is contained in:
parent
c805f4d45c
commit
ec1436906f
2 changed files with 18 additions and 2 deletions
|
@ -1 +1 @@
|
||||||
<app-qualifikaton-bearbeiten-view></app-qualifikaton-bearbeiten-view>
|
<router-outlet></router-outlet>
|
||||||
|
|
|
@ -1,3 +1,19 @@
|
||||||
import { Routes } from '@angular/router';
|
import { Routes } from '@angular/router';
|
||||||
|
import { LoginViewComponent } from './components/login-view/login-view.component';
|
||||||
|
import { MitarbeiterverwaltungViewComponent } from './components/mitarbeiterverwaltung-view/mitarbeiterverwaltung-view.component';
|
||||||
|
import { EmployeeDetailComponent } from './components/employee-detail/employee-detail.component';
|
||||||
|
|
||||||
export const routes: Routes = [];
|
export const routes: Routes = [
|
||||||
|
{
|
||||||
|
path: "",
|
||||||
|
component: LoginViewComponent,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "mitarbeiter",
|
||||||
|
component: MitarbeiterverwaltungViewComponent,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "mitarbeiterdetails",
|
||||||
|
component: EmployeeDetailComponent,
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
Loading…
Add table
Reference in a new issue