fuse-angular/src/app/main/content/components/components.module.ts
2017-11-02 10:47:28 +03:00

75 lines
2.4 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 { FuseShortcutsDocsComponent } from './shortcuts/shortcuts.component';
import { FuseSearchBarDocsComponent } from 'app/main/content/components/search-bar/search-bar.component';
import { FuseWidgetDocsComponent } from './widget/widget.component';
import { FuseWidgetModule } from '../../../core/components/widget/widget.module';
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
],
declarations: [
FuseCardsDocsComponent,
FuseCountdownDocsComponent,
FuseHljsDocsComponent,
FuseMaterialColorPickerDocsComponent,
FuseMultiLanguageDocsComponent,
FuseNavigationDocsComponent,
FuseSearchBarDocsComponent,
FuseShortcutsDocsComponent,
FuseWidgetDocsComponent
]
})
export class ComponentsModule
{
}