(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 // 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)},

View File

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

View File

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

View File

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