Create login route and protect routes (#3)

Co-authored-by: Phan Huy Tran <p.tran@neusta.de>
Reviewed-on: #3
Co-authored-by: ptran <huydw@proton.me>
Co-committed-by: ptran <huydw@proton.me>
This commit is contained in:
Huy
2024-12-18 09:27:44 +00:00
committed by Constantin Simonis
parent 3595348aee
commit f1f58b73c9
10 changed files with 56 additions and 60 deletions

View File

@ -1,11 +1,10 @@
import { Component } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterOutlet } from '@angular/router';
import {EmployeeListComponent} from "./employee-list/employee-list.component";
import {Component} from '@angular/core';
import {CommonModule} from '@angular/common';
import {RouterOutlet} from '@angular/router';
@Component({
selector: 'app-root',
imports: [CommonModule, EmployeeListComponent],
imports: [CommonModule, RouterOutlet],
templateUrl: './app.component.html',
styleUrl: './app.component.css'
})