UNPKG

ohayolibs

Version:

Ohayo is a set of essential modules for ohayojp.

35 lines (31 loc) 935 B
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { NuMonacoEditorModule } from '@ng-util/monaco-editor'; import { ContentComponent } from '../../shared/components/content/content.component'; import { SharedModule } from '../../shared/shared.module'; import { FormValidatorComponent } from './validator/validator.component'; const COMPONENTS = [FormValidatorComponent]; const routes: Routes = [ { path: '', component: ContentComponent, children: [ { path: 'validator/:lang', component: FormValidatorComponent, data: { titleI18n: 'app.header.menu.form.validator' }, }, ], }, ]; @NgModule({ imports: [ SharedModule, NuMonacoEditorModule.forRoot({ defaultOptions: { scrollBeyondLastLine: false }, }), RouterModule.forChild(routes), ], declarations: COMPONENTS, }) export class FormPagesModule {}