26 lines
577 B
TypeScript
26 lines
577 B
TypeScript
import { Component } from '@angular/core';
|
|
import { ServerService } from './services/server.service';
|
|
import { FieldBase } from '../app/form/fields/field-base';
|
|
import { JsonObjest } from '../app/entities/JsonObject.class';
|
|
|
|
|
|
@Component({
|
|
selector: 'app-root',
|
|
template: `
|
|
<!-- <h1 class="title">Angular Router</h1>-->
|
|
|
|
<router-outlet></router-outlet>
|
|
`,
|
|
// template: `
|
|
// <div>
|
|
// <login-page></login-page>
|
|
// </div>
|
|
// `,
|
|
providers: []
|
|
})
|
|
export class AppComponent {
|
|
|
|
fields: any[];
|
|
|
|
}
|
|
//<dynamic-form></dynamic-form>
|