fuse-angular/src/app/main/content/components/components.module.ts

79 lines
2.5 KiB
TypeScript
Raw Normal View History

2017-07-29 13:42:53 +00:00
import { NgModule } from '@angular/core';
2017-08-02 08:53:30 +00:00
import { SharedModule } from '../../../core/modules/shared.module';
2017-07-29 13:42:53 +00:00
import { RouterModule } from '@angular/router';
2017-11-02 07:47:28 +00:00
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';
2018-01-08 09:40:39 +00:00
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 { FuseAngularMaterialModule } from './angular-material/angular-material.module';
2018-01-08 09:40:39 +00:00
import { NgxChartsModule } from '@swimlane/ngx-charts';
2017-07-29 13:42:53 +00:00
const routes = [
2017-11-02 07:47:28 +00:00
{
path : 'cards',
2017-11-02 07:47:28 +00:00
component: FuseCardsDocsComponent
},
2017-07-29 13:42:53 +00:00
{
path : 'countdown',
component: FuseCountdownDocsComponent
},
{
path : 'highlightjs',
component: FuseHljsDocsComponent
},
{
path : 'material-color-picker',
component: FuseMaterialColorPickerDocsComponent
},
{
path : 'multi-language',
component: FuseMultiLanguageDocsComponent
},
{
path : 'navigation',
component: FuseNavigationDocsComponent
2017-08-04 09:15:25 +00:00
},
{
path : 'search-bar',
component: FuseSearchBarDocsComponent
},
{
path : 'shortcuts',
component: FuseShortcutsDocsComponent
},
{
path : 'widget',
component: FuseWidgetDocsComponent
2017-07-29 13:42:53 +00:00
}
];
@NgModule({
imports : [
SharedModule,
RouterModule.forChild(routes),
2018-01-08 09:40:39 +00:00
FuseWidgetModule,
FuseAngularMaterialModule,
2018-01-08 09:40:39 +00:00
NgxChartsModule
2017-07-29 13:42:53 +00:00
],
declarations: [
2017-11-02 07:47:28 +00:00
FuseCardsDocsComponent,
FuseCountdownDocsComponent,
FuseHljsDocsComponent,
FuseMaterialColorPickerDocsComponent,
FuseMultiLanguageDocsComponent,
FuseNavigationDocsComponent,
FuseSearchBarDocsComponent,
FuseShortcutsDocsComponent,
FuseWidgetDocsComponent
2017-07-29 13:42:53 +00:00
]
})
export class ComponentsModule
{
}