UNPKG

angular-formio

Version:

Form.io Angular JSON Form Renderer ========================== This library serves as a Dynamic JSON Powered Form rendering library for [Angular](https://angular.io). This works by providing a JSON schema to a ```<formio>``` Angular component, where that f

22 lines (19 loc) 501 B
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; import { FormioAuth, FormioAuthRoutes } from '../../dist/auth'; import { AuthComponent } from './auth.component'; export const authRoutes = FormioAuthRoutes({ auth: AuthComponent }); @NgModule({ imports: [ CommonModule, FormioAuth, RouterModule.forChild(authRoutes) ], declarations: [ AuthComponent ] }) export class AuthDemoModule {}