ng-form-temp
v0.1.20
Published
使用表单模板
Downloads
16
Readme
ng-form-temp
使用表单模板
依赖
- angular v10
- ng-zorro-antd v10
使用
import { NgFormTempModule } from 'ng-form-temp';
@NgModule({
imports: [
NgFormTempModule,
],
declarations: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
<juhe-ng-form-temp [documentId]="documentId" [compackData]="compackData" [category]="category"
(saveDocument)="save($event)"></juhe-ng-form-temp>
示例
NgFormTemp
This library was generated with Angular CLI version 10.2.0.
Code scaffolding
Run ng generate component component-name --project ng-form-temp
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project ng-form-temp
.
Note: Don't forget to add
--project ng-form-temp
or else it will be added to the default project in yourangular.json
file.
Build
Run ng build ng-form-temp
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build ng-form-temp
, go to the dist folder cd dist/ng-form-temp
and run npm publish
.
Running unit tests
Run ng test ng-form-temp
to execute the unit tests via Karma.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.