mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-11 13:05:08 +00:00
77 lines
2.5 KiB
TypeScript
77 lines
2.5 KiB
TypeScript
import { NgModule } from '@angular/core';
|
|
import { SharedModule } from '../../../core/modules/shared.module';
|
|
import { RouterModule } from '@angular/router';
|
|
import { FuseCardsDocsComponent } from './cards/cards.component';
|
|
import { FuseCountdownDocsComponent } from './countdown/countdown.component';
|
|
import { FuseHljsDocsComponent } from './hljs/hljs.component';
|
|
import { FuseMaterialColorPickerDocsComponent } from './material-color-picker/material-color-picker.component';
|
|
import { FuseMultiLanguageDocsComponent } from './multi-language/multi-language.component';
|
|
import { FuseNavigationDocsComponent } from './navigation/navigation.component';
|
|
import { FuseSearchBarDocsComponent } from './search-bar/search-bar.component';
|
|
import { FuseShortcutsDocsComponent } from './shortcuts/shortcuts.component';
|
|
import { FuseWidgetDocsComponent } from './widget/widget.component';
|
|
import { FuseWidgetModule } from '../../../core/components/widget/widget.module';
|
|
import { NgxChartsModule } from '@swimlane/ngx-charts';
|
|
|
|
const routes = [
|
|
{
|
|
path : 'components/cards',
|
|
component: FuseCardsDocsComponent
|
|
},
|
|
{
|
|
path : 'components/countdown',
|
|
component: FuseCountdownDocsComponent
|
|
},
|
|
{
|
|
path : 'components/highlightjs',
|
|
component: FuseHljsDocsComponent
|
|
},
|
|
{
|
|
path : 'components/material-color-picker',
|
|
component: FuseMaterialColorPickerDocsComponent
|
|
},
|
|
{
|
|
path : 'components/multi-language',
|
|
component: FuseMultiLanguageDocsComponent
|
|
},
|
|
{
|
|
path : 'components/navigation',
|
|
component: FuseNavigationDocsComponent
|
|
},
|
|
{
|
|
path : 'components/search-bar',
|
|
component: FuseSearchBarDocsComponent
|
|
},
|
|
{
|
|
path : 'components/shortcuts',
|
|
component: FuseShortcutsDocsComponent
|
|
},
|
|
{
|
|
path : 'components/widget',
|
|
component: FuseWidgetDocsComponent
|
|
}
|
|
];
|
|
|
|
@NgModule({
|
|
imports : [
|
|
SharedModule,
|
|
RouterModule.forChild(routes),
|
|
FuseWidgetModule,
|
|
NgxChartsModule
|
|
],
|
|
declarations: [
|
|
FuseCardsDocsComponent,
|
|
FuseCountdownDocsComponent,
|
|
FuseHljsDocsComponent,
|
|
FuseMaterialColorPickerDocsComponent,
|
|
FuseMultiLanguageDocsComponent,
|
|
FuseNavigationDocsComponent,
|
|
FuseSearchBarDocsComponent,
|
|
FuseShortcutsDocsComponent,
|
|
FuseWidgetDocsComponent
|
|
]
|
|
})
|
|
export class ComponentsModule
|
|
{
|
|
}
|