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

63 lines
2.0 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';
import { FuseCountdownDocsComponent } from './countdown/countdown.component';
import { FuseHljsDocsComponent } from './hljs/hljs.component';
import { FuseMaterialColorPickerDocsComponent } from './material-color-picker/material-color-picker.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';
2017-07-29 13:42:53 +00:00
const routes = [
{
path : 'components/countdown',
component: FuseCountdownDocsComponent
},
{
path : 'components/highlightjs',
component: FuseHljsDocsComponent
},
{
path : 'components/material-color-picker',
component: FuseMaterialColorPickerDocsComponent
},
{
path : 'components/navigation',
component: FuseNavigationDocsComponent
2017-08-04 09:15:25 +00:00
},
{
path : 'components/search-bar',
component: FuseSearchBarDocsComponent
},
{
path : 'components/shortcuts',
component: FuseShortcutsDocsComponent
},
{
path : 'components/widget',
component: FuseWidgetDocsComponent
2017-07-29 13:42:53 +00:00
}
];
@NgModule({
imports : [
SharedModule,
RouterModule.forChild(routes),
FuseWidgetModule
2017-07-29 13:42:53 +00:00
],
declarations: [
FuseCountdownDocsComponent,
FuseHljsDocsComponent,
FuseMaterialColorPickerDocsComponent,
FuseNavigationDocsComponent,
FuseSearchBarDocsComponent,
FuseShortcutsDocsComponent,
FuseWidgetDocsComponent
2017-07-29 13:42:53 +00:00
]
})
export class ComponentsModule
{
}