mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-08 03:25: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
|
||||
{path: 'ui', children: [
|
||||
|
||||
// Angular Material
|
||||
{path: 'angular-material', loadChildren: () => import('app/modules/admin/ui/angular-material/angular-material.module').then(m => m.AngularMaterialModule)},
|
||||
// Material components
|
||||
{path: 'material-components', loadChildren: () => import('app/modules/admin/ui/material-components/material-components.module').then(m => m.MaterialComponentsModule)},
|
||||
|
||||
// TailwindCSS
|
||||
{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',
|
||||
type : 'basic',
|
||||
icon : 'heroicons_outline:chip',
|
||||
link : '/ui/angular-material'
|
||||
link : '/ui/material-components'
|
||||
},
|
||||
{
|
||||
id : 'user-interface.tailwindcss',
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
import { Component, ViewEncapsulation } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector : 'angular-material',
|
||||
templateUrl : './angular-material.component.html',
|
||||
selector : 'material-components',
|
||||
templateUrl : './material-components.component.html',
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class AngularMaterialComponent
|
||||
export class MaterialComponentsComponent
|
||||
{
|
||||
components: any[];
|
||||
|
|
@ -3,18 +3,18 @@ import { Route, RouterModule } from '@angular/router';
|
|||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
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[] = [
|
||||
{
|
||||
path : '',
|
||||
component: AngularMaterialComponent
|
||||
component: MaterialComponentsComponent
|
||||
}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
AngularMaterialComponent
|
||||
MaterialComponentsComponent
|
||||
],
|
||||
imports : [
|
||||
RouterModule.forChild(routes),
|
||||
|
@ -23,6 +23,6 @@ export const routes: Route[] = [
|
|||
SharedModule
|
||||
]
|
||||
})
|
||||
export class AngularMaterialModule
|
||||
export class MaterialComponentsModule
|
||||
{
|
||||
}
|
Loading…
Reference in New Issue
Block a user