splash init
This commit is contained in:
@@ -1,17 +1,22 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
|
||||
import { DashboardComponent } from './dashboard/dashboard.component';
|
||||
import { AppLayoutComponent } from './layout/app.layout.component';
|
||||
import { SplashComponent } from './splash/splash.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: SplashComponent
|
||||
},
|
||||
{
|
||||
path: 'app',
|
||||
component: AppLayoutComponent,
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
component: SplashComponent
|
||||
path: 'dashboard',
|
||||
component: DashboardComponent
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user