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:
@ -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'
|
||||
})
|
||||
|
Reference in New Issue
Block a user