mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-08 19:45:08 +00:00
(ui/material-components) Renamed the component
This commit is contained in:
parent
63f6edee9a
commit
58440b63a7
|
@ -143,8 +143,8 @@ export const appRoutes: Route[] = [
|
||||||
// User interface
|
// User interface
|
||||||
{path: 'ui', children: [
|
{path: 'ui', children: [
|
||||||
|
|
||||||
// Angular Material
|
// Material components
|
||||||
{path: 'angular-material', loadChildren: () => import('app/modules/admin/ui/angular-material/angular-material.module').then(m => m.AngularMaterialModule)},
|
{path: 'material-components', loadChildren: () => import('app/modules/admin/ui/material-components/material-components.module').then(m => m.MaterialComponentsModule)},
|
||||||
|
|
||||||
// TailwindCSS
|
// TailwindCSS
|
||||||
{path: 'tailwindcss', loadChildren: () => import('app/modules/admin/ui/tailwindcss/tailwindcss.module').then(m => m.TailwindCSSModule)},
|
{path: 'tailwindcss', loadChildren: () => import('app/modules/admin/ui/tailwindcss/tailwindcss.module').then(m => m.TailwindCSSModule)},
|
||||||
|
|
|
@ -686,7 +686,7 @@ export const defaultNavigation: FuseNavigationItem[] = [
|
||||||
title: 'Material components',
|
title: 'Material components',
|
||||||
type : 'basic',
|
type : 'basic',
|
||||||
icon : 'heroicons_outline:chip',
|
icon : 'heroicons_outline:chip',
|
||||||
link : '/ui/angular-material'
|
link : '/ui/material-components'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : 'user-interface.tailwindcss',
|
id : 'user-interface.tailwindcss',
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import { Component, ViewEncapsulation } from '@angular/core';
|
import { Component, ViewEncapsulation } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector : 'angular-material',
|
selector : 'material-components',
|
||||||
templateUrl : './angular-material.component.html',
|
templateUrl : './material-components.component.html',
|
||||||
encapsulation: ViewEncapsulation.None
|
encapsulation: ViewEncapsulation.None
|
||||||
})
|
})
|
||||||
export class AngularMaterialComponent
|
export class MaterialComponentsComponent
|
||||||
{
|
{
|
||||||
components: any[];
|
components: any[];
|
||||||
|
|
|
@ -3,18 +3,18 @@ import { Route, RouterModule } from '@angular/router';
|
||||||
import { MatButtonModule } from '@angular/material/button';
|
import { MatButtonModule } from '@angular/material/button';
|
||||||
import { MatIconModule } from '@angular/material/icon';
|
import { MatIconModule } from '@angular/material/icon';
|
||||||
import { SharedModule } from 'app/shared/shared.module';
|
import { SharedModule } from 'app/shared/shared.module';
|
||||||
import { AngularMaterialComponent } from 'app/modules/admin/ui/angular-material/angular-material.component';
|
import { MaterialComponentsComponent } from 'app/modules/admin/ui/material-components/material-components.component';
|
||||||
|
|
||||||
export const routes: Route[] = [
|
export const routes: Route[] = [
|
||||||
{
|
{
|
||||||
path : '',
|
path : '',
|
||||||
component: AngularMaterialComponent
|
component: MaterialComponentsComponent
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
AngularMaterialComponent
|
MaterialComponentsComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
RouterModule.forChild(routes),
|
RouterModule.forChild(routes),
|
||||||
|
@ -23,6 +23,6 @@ export const routes: Route[] = [
|
||||||
SharedModule
|
SharedModule
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class AngularMaterialModule
|
export class MaterialComponentsModule
|
||||||
{
|
{
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user