@abdelrahman-abdelhamed/ng-orgchart 中文文档教程
NgOrgchart
此库是使用 Angular CLI 8.0.3 版生成的。
Code scaffolding
运行 ng generate component component-name --project ng-orgchart
生成一个新组件。 您还可以使用 ng generate directive|pipe|service|class|guard|interface|enum|module --project ng-orgchart
。
注意:不要忘记添加
--project ng-orgchart
否则它将添加到angular.json
文件中的默认项目。
Build
运行 ng build ng-orgchart
来构建项目。 构建工件将存储在 dist/
目录中。
Publishing
使用 ng build ng-orgchart
构建您的库后,转到 dist 文件夹 cd dist/ng-orgchart
并运行 npm publish
。
Running unit tests
运行 ng test ng-orgchart
以通过 Karma 执行单元测试。
Further help
要获得有关 Angular CLI 的更多帮助,请使用 ng help
或查看 角度 CLI 自述文件。
NgOrgchart
This library was generated with Angular CLI version 8.0.3.
Code scaffolding
Run ng generate component component-name --project ng-orgchart
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project ng-orgchart
.
Note: Don't forget to add
--project ng-orgchart
or else it will be added to the default project in yourangular.json
file.
Build
Run ng build ng-orgchart
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build ng-orgchart
, go to the dist folder cd dist/ng-orgchart
and run npm publish
.
Running unit tests
Run ng test ng-orgchart
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 README.