Add @guards on the tsconfig.json
This commit is contained in:
parent
f4e72e80e4
commit
b787a13669
2 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { authGuard } from './guards/auth.guard';
|
import { authGuard } from '@guards/auth.guard';
|
||||||
|
|
||||||
import { LoginComponent } from './components/essentials/login/login.component';
|
import { LoginComponent } from './components/essentials/login/login.component';
|
||||||
import { HomeComponent } from './components/home/home.component';
|
import { HomeComponent } from './components/home/home.component';
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
"paths": {
|
"paths": {
|
||||||
"@interfaces/*": ["app/interfaces/*"],
|
"@interfaces/*": ["app/interfaces/*"],
|
||||||
"@services/*": ["app/services/*"],
|
"@services/*": ["app/services/*"],
|
||||||
|
"@guards/*": ["app/guards/*"],
|
||||||
"@utils/*": ["app/utils/*"]
|
"@utils/*": ["app/utils/*"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue