-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathtext-editor.module.ts
More file actions
37 lines (33 loc) · 1.7 KB
/
text-editor.module.ts
File metadata and controls
37 lines (33 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { RichTextDisplayDemoComponent as RichTextDisplayRichTextDisplayDemoComponent } from '../code-examples/text-editor/rich-text-display/rich-text-display-demo.component';
import { RichTextDisplayDemoModule as RichTextDisplayRichTextDisplayDemoModule } from '../code-examples/text-editor/rich-text-display/rich-text-display-demo.module';
import { TextEditorDemoComponent as TextEditorInlineHelpTextEditorDemoComponent } from '../code-examples/text-editor/text-editor-inline-help/text-editor-demo.component';
import { TextEditorDemoModule as TextEditorInlineHelpTextEditorDemoModule } from '../code-examples/text-editor/text-editor-inline-help/text-editor-demo.module';
import { TextEditorDemoComponent as TextEditorTextEditorDemoComponent } from '../code-examples/text-editor/text-editor/text-editor-demo.component';
import { TextEditorDemoModule as TextEditorTextEditorDemoModule } from '../code-examples/text-editor/text-editor/text-editor-demo.module';
const routes: Routes = [
{
path: 'rich-text-display',
component: RichTextDisplayRichTextDisplayDemoComponent,
},
{ path: 'text-editor', component: TextEditorTextEditorDemoComponent },
{
path: 'text-editor-inline-help',
component: TextEditorInlineHelpTextEditorDemoComponent,
},
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})
export class TextEditorFeatureRoutingModule {}
@NgModule({
imports: [
RichTextDisplayRichTextDisplayDemoModule,
TextEditorInlineHelpTextEditorDemoModule,
TextEditorTextEditorDemoModule,
TextEditorFeatureRoutingModule,
],
})
export class TextEditorFeatureModule {}