2021-12-09 14:24:42 +00:00
|
|
|
import {RouterModule} from '@angular/router';
|
|
|
|
import {NgModule} from '@angular/core';
|
2021-12-28 10:29:25 +00:00
|
|
|
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';
|
2021-12-09 14:24:42 +00:00
|
|
|
import {AppMainComponent} from './app.main.component';
|
2021-12-28 10:29:25 +00:00
|
|
|
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';
|
|
|
|
import {AppBlocksComponent} from './components/app-blocks/app-blocks.component';
|
|
|
|
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';
|
|
|
|
import {MenusComponent} from './components/menus/menus.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},
|
|
|
|
{path: 'uikit/menu', component: MenusComponent},
|
|
|
|
{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},
|
|
|
|
{path: 'blocks', component: AppBlocksComponent},
|
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 {
|
|
|
|
}
|