mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 04:25:08 +00:00
Re-added the accidentally deleted Angular Material Examples module
This commit is contained in:
parent
5c1f2ad1e3
commit
ea15a8b832
|
@ -7,10 +7,10 @@ import { COMPONENT_MAP } from 'app/main/components/angular-material/example-comp
|
|||
|
||||
@Component({
|
||||
selector : 'angular-material',
|
||||
templateUrl: './angular-material.component.html',
|
||||
styleUrls : ['./angular-material.component.scss']
|
||||
templateUrl: './angular-material-examples.component.html',
|
||||
styleUrls : ['./angular-material-examples.component.scss']
|
||||
})
|
||||
export class AngularMaterialComponent implements OnInit, OnDestroy
|
||||
export class AngularMaterialExamplesComponent implements OnInit, OnDestroy
|
||||
{
|
||||
id: string;
|
||||
title: string;
|
|
@ -7,7 +7,7 @@ import { FuseWidgetModule } from '@fuse/components/widget/widget.module';
|
|||
|
||||
import { MaterialModule } from 'app/main/components/angular-material/material.module';
|
||||
import { EXAMPLE_LIST } from 'app/main/components/angular-material/example-components';
|
||||
import { AngularMaterialComponent } from 'app/main/components/angular-material/angular-material.component';
|
||||
import { AngularMaterialExamplesComponent } from 'app/main/components/angular-material/angular-material-examples.component';
|
||||
import { ExampleViewerComponent } from 'app/main/components/angular-material/example-viewer/example-viewer';
|
||||
|
||||
const routes: Routes = [
|
||||
|
@ -16,7 +16,7 @@ const routes: Routes = [
|
|||
children: [
|
||||
{
|
||||
path : ':id',
|
||||
component: AngularMaterialComponent
|
||||
component: AngularMaterialExamplesComponent
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ const routes: Routes = [
|
|||
@NgModule({
|
||||
declarations : [
|
||||
[...EXAMPLE_LIST],
|
||||
AngularMaterialComponent,
|
||||
AngularMaterialExamplesComponent,
|
||||
ExampleViewerComponent
|
||||
],
|
||||
imports : [
|
||||
|
@ -39,7 +39,7 @@ const routes: Routes = [
|
|||
],
|
||||
entryComponents: EXAMPLE_LIST,
|
||||
})
|
||||
export class AngularMaterialModule
|
||||
export class AngularMaterialExamplesModule
|
||||
{
|
||||
}
|
||||
|
|
@ -5,6 +5,8 @@ import { NgxChartsModule } from '@swimlane/ngx-charts';
|
|||
|
||||
import { FuseSharedModule } from '@fuse/shared.module';
|
||||
|
||||
import { AngularMaterialExamplesModule } from 'app/main/components/angular-material/angular-material-examples.module';
|
||||
|
||||
import { FuseCountdownModule, FuseHighlightModule, FuseMaterialColorPickerModule, FuseWidgetModule } from '@fuse/components';
|
||||
import { CardsDocsComponent } from 'app/main/components/cards/cards.component';
|
||||
import { CountdownDocsComponent } from 'app/main/components/countdown/countdown.component';
|
||||
|
@ -93,7 +95,9 @@ const routes = [
|
|||
FuseCountdownModule,
|
||||
FuseHighlightModule,
|
||||
FuseMaterialColorPickerModule,
|
||||
FuseWidgetModule
|
||||
FuseWidgetModule,
|
||||
|
||||
AngularMaterialExamplesModule
|
||||
]
|
||||
})
|
||||
export class ComponentsModule
|
||||
|
|
|
@ -685,7 +685,7 @@ export const navigation: FuseNavigation[] = [
|
|||
children: [
|
||||
{
|
||||
id : 'badge',
|
||||
title: 'badge',
|
||||
title: 'Badge',
|
||||
type : 'item',
|
||||
url : '/components/angular-material/badge'
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user