@rxap/schematics-form
Installation
ng add @rxap/schematics-form
Setup the package @rxap/schematics-form for the workspace.
Schematics
generate-view
Generates a form component from a template file
ng g @rxap/schematics-form:generate-view
Option | Type | Default | Description |
---|---|---|---|
name | string | ||
path | string | ||
tsMorphProject | |||
templateBasePath | string | a template base path | |
overwrite | boolean | false | |
project | string | ||
openApiModule | string | ||
template | string | ||
organizeImports | boolean | true | |
fixImports | boolean | true | |
format | boolean | true | |
skipTsFiles | boolean | false |
Required |
---|
template |
generate
Generates a form definition from a xml specification
ng g @rxap/schematics-form:generate
Option | Type | Default | Description |
---|---|---|---|
path | string | ||
project | string | ||
templateBasePath | string | a template base path | |
template | string | ||
formElement | |||
tsMorphProject | |||
openApiModule | string | ||
name | string | ||
flat | boolean | ||
organizeImports | boolean | true | |
fixImports | boolean | true | |
format | boolean | true | |
overwrite | boolean | true | |
skipTsFiles | boolean | false |
ng-add
Setup the package @rxap/schematics-form for the workspace.
ng g @rxap/schematics-form:ng-add
Option | Type | Default | Description |
---|