Update folder structure
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { Routes } from '@angular/router';
|
||||
import { Landing } from './views/pages/landing';
|
||||
import { Notfound } from './views/pages/notfound';
|
||||
import { AppLayout } from './layout/app.layout';
|
||||
import { Dashboard } from './views/dashboard';
|
||||
import { Documentation } from './views/pages/documentation';
|
||||
import { AppLayout } from './app/layout/core/app.layout';
|
||||
import { Dashboard } from './app/pages/dashboard/dashboard';
|
||||
import { Documentation } from './app/pages/documentation/documentation';
|
||||
import { Landing } from './app/pages/landing/landing';
|
||||
import { Notfound } from './app/pages/notfound/notfound';
|
||||
|
||||
export const appRoutes: Routes = [
|
||||
{
|
||||
@@ -11,12 +11,13 @@ export const appRoutes: Routes = [
|
||||
component: AppLayout,
|
||||
children: [
|
||||
{ path: '', component: Dashboard },
|
||||
{ path: 'uikit', loadChildren: () => import('./views/uikit/uikit.routes') },
|
||||
{ path: 'uikit', loadChildren: () => import('./app/pages/uikit/uikit.routes') },
|
||||
{ path: 'documentation', component: Documentation },
|
||||
{ path: 'pages', loadChildren: () => import('./views/pages/pages.routes') }
|
||||
{ path: 'pages', loadChildren: () => import('./app/pages/pages.routes') }
|
||||
]
|
||||
},
|
||||
{ path: 'landing', component: Landing },
|
||||
{ path: 'notfound', component: Notfound },
|
||||
{ path: 'auth', loadChildren: () => import('./views/pages/auth/auth.routes') }
|
||||
{ path: 'auth', loadChildren: () => import('./app/pages/auth/auth.routes') },
|
||||
{ path: '**', redirectTo: '/notfound' },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user