(ui/material-components) Renamed the component

This commit is contained in:
sercan 2021-07-09 11:12:07 +03:00
parent 63f6edee9a
commit 58440b63a7
5 changed files with 10 additions and 10 deletions

View File

@ -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)},

View File

@ -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',

View File

@ -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[];

View File

@ -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
{
}