mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 16:00:14 +01:00
refactor(app): rename components, move tinymce to separate file
This commit is contained in:
parent
923e56c3d2
commit
3ac268a096
40 changed files with 199 additions and 136 deletions
|
|
@ -1,19 +1,19 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
import { NgxEditorsComponent } from './editors.component';
|
||||
import { NgxTinyMCEComponent, NgxTinyMCEEditorComponent } from './tinyMCE.component';
|
||||
import { NgxCKEditorComponent } from './ckeditor.component';
|
||||
import { EditorsComponent } from './editors.component';
|
||||
import { TinyMCEComponent, TinyMCEEditorComponent } from './tinyMCE.component';
|
||||
import { CKEditorComponent } from './ckeditor.component';
|
||||
|
||||
const routes: Routes = [{
|
||||
path: '',
|
||||
component: NgxEditorsComponent,
|
||||
component: EditorsComponent,
|
||||
children: [{
|
||||
path: 'tinymce',
|
||||
component: NgxTinyMCEComponent,
|
||||
component: TinyMCEComponent,
|
||||
}, {
|
||||
path: 'ckeditor',
|
||||
component: NgxCKEditorComponent,
|
||||
component: CKEditorComponent,
|
||||
}],
|
||||
}];
|
||||
|
||||
|
|
@ -21,11 +21,11 @@ const routes: Routes = [{
|
|||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule],
|
||||
})
|
||||
export class NgxEditorsRoutingModule { }
|
||||
export class EditorsRoutingModule { }
|
||||
|
||||
export const routedComponents = [
|
||||
NgxEditorsComponent,
|
||||
NgxTinyMCEComponent,
|
||||
NgxTinyMCEEditorComponent,
|
||||
NgxCKEditorComponent,
|
||||
EditorsComponent,
|
||||
TinyMCEComponent,
|
||||
TinyMCEEditorComponent,
|
||||
CKEditorComponent,
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue