2021-12-29 06:28:51 +00:00
|
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { DashboardComponent } from './components/dashboard/dashboard.component';
|
|
|
|
import { FormLayoutComponent } from './components/formlayout/formlayout.component';
|
|
|
|
import { PanelsComponent } from './components/panels/panels.component';
|
|
|
|
import { OverlaysComponent } from './components/overlays/overlays.component';
|
|
|
|
import { MediaComponent } from './components/media/media.component';
|
|
|
|
import { MessagesComponent } from './components/messages/messages.component';
|
|
|
|
import { MiscComponent } from './components/misc/misc.component';
|
|
|
|
import { EmptyComponent } from './components/empty/empty.component';
|
|
|
|
import { ChartsComponent } from './components/charts/charts.component';
|
|
|
|
import { FileComponent } from './components/file/file.component';
|
|
|
|
import { DocumentationComponent } from './components/documentation/documentation.component';
|
|
|
|
import { AppMainComponent } from './app.main.component';
|
|
|
|
import { InputComponent } from './components/input/input.component';
|
|
|
|
import { ButtonComponent } from './components/button/button.component';
|
|
|
|
import { TableComponent } from './components/table/table.component';
|
|
|
|
import { ListComponent } from './components/list/list.component';
|
|
|
|
import { TreeComponent } from './components/tree/tree.component';
|
|
|
|
import { CrudComponent } from './components/crud/crud.component';
|
2021-12-30 06:21:53 +00:00
|
|
|
import { BlocksComponent } from './components/blocks/blocks.component';
|
2021-12-29 06:28:51 +00:00
|
|
|
import { FloatLabelComponent } from './components/floatlabel/floatlabel.component';
|
|
|
|
import { InvalidStateComponent } from './components/invalidstate/invalidstate.component';
|
|
|
|
import { TimelineComponent } from './components/timeline/timeline.component';
|
|
|
|
import { IconsComponent } from './components/icons/icons.component';
|
2021-12-06 07:26:58 +00:00
|
|
|
@NgModule({
|
2021-12-09 14:24:42 +00:00
|
|
|
imports: [
|
|
|
|
RouterModule.forRoot([
|
|
|
|
{
|
|
|
|
path: '', component: AppMainComponent,
|
|
|
|
children: [
|
2021-12-28 10:29:25 +00:00
|
|
|
{path: '', component: DashboardComponent},
|
|
|
|
{path: 'uikit/formlayout', component: FormLayoutComponent},
|
|
|
|
{path: 'uikit/input', component: InputComponent},
|
|
|
|
{path: 'uikit/floatlabel', component: FloatLabelComponent},
|
|
|
|
{path: 'uikit/invalidstate', component: InvalidStateComponent},
|
|
|
|
{path: 'uikit/button', component: ButtonComponent},
|
|
|
|
{path: 'uikit/table', component: TableComponent},
|
|
|
|
{path: 'uikit/list', component: ListComponent},
|
|
|
|
{path: 'uikit/tree', component: TreeComponent},
|
|
|
|
{path: 'uikit/panel', component: PanelsComponent},
|
|
|
|
{path: 'uikit/overlay', component: OverlaysComponent},
|
|
|
|
{path: 'uikit/media', component: MediaComponent},
|
2021-12-29 06:28:51 +00:00
|
|
|
{path: 'uikit/menu', loadChildren: () => import('./components/menus/menus.module').then(m => m.MenusModule)},
|
2021-12-28 10:29:25 +00:00
|
|
|
{path: 'uikit/message', component: MessagesComponent},
|
|
|
|
{path: 'uikit/misc', component: MiscComponent},
|
|
|
|
{path: 'uikit/charts', component: ChartsComponent},
|
|
|
|
{path: 'uikit/file', component: FileComponent},
|
|
|
|
{path: 'pages/crud', component: CrudComponent},
|
|
|
|
{path: 'pages/timeline', component: TimelineComponent},
|
|
|
|
{path: 'pages/empty', component: EmptyComponent},
|
|
|
|
{path: 'icons', component: IconsComponent},
|
2021-12-30 06:21:53 +00:00
|
|
|
{path: 'blocks', component: BlocksComponent},
|
2021-12-09 14:24:42 +00:00
|
|
|
{path: 'documentation', component: DocumentationComponent}
|
|
|
|
]
|
|
|
|
},
|
2021-12-24 13:03:21 +00:00
|
|
|
{path: '**', redirectTo: 'pages/empty'},
|
2021-12-09 14:24:42 +00:00
|
|
|
], {scrollPositionRestoration: 'enabled'})
|
|
|
|
],
|
|
|
|
exports: [RouterModule]
|
2021-12-06 07:26:58 +00:00
|
|
|
})
|
2021-12-09 14:24:42 +00:00
|
|
|
export class AppRoutingModule {
|
|
|
|
}
|