Add path shortcuts to all paths in the system.

This commit is contained in:
Spencer Ofwiti
2021-02-17 15:49:04 +03:00
parent 63c5a63d81
commit 0e07e4ccdc
72 changed files with 4169 additions and 874 deletions

View File

@@ -2,8 +2,8 @@ import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
const routes: Routes = [
{ path: '', loadChildren: () => import('./pages/pages.module').then(m => m.PagesModule) },
{ path: 'auth', loadChildren: () => import('@app/auth/auth.module').then(m => m.AuthModule) },
{ path: '', loadChildren: () => import('@pages/pages.module').then(m => m.PagesModule) },
{ path: '**', redirectTo: '', pathMatch: 'full' }
];