@abhishek1967/my-demo-lib 中文文档教程
MyDemoLib
此库是使用 Angular CLI 11.0.9 版生成的。
Code scaffolding
运行 ng generate component component-name --project my-demo-lib
生成一个新组件。 您还可以使用 ng generate directive|pipe|service|class|guard|interface|enum|module --project my-demo-lib
。
注意:不要忘记添加
--project my-demo-lib
否则它将添加到angular.json
文件中的默认项目。
Build
运行 ng build my-demo-lib
来构建项目。 构建工件将存储在 dist/
目录中。
Publishing
使用 ng build my-demo-lib
构建库后,转到 dist 文件夹 cd dist/my-demo-lib
并运行 npm publish
。
Running unit tests
运行 ng test my-demo-lib
以通过 Karma 执行单元测试。
Further help
要获得有关 Angular CLI 的更多帮助,请使用 ng help
或查看 Angular CLI 概述和命令参考 页面.
MyDemoLib
This library was generated with Angular CLI version 11.0.9.
Code scaffolding
Run ng generate component component-name --project my-demo-lib
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project my-demo-lib
.
Note: Don't forget to add
--project my-demo-lib
or else it will be added to the default project in yourangular.json
file.
Build
Run ng build my-demo-lib
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build my-demo-lib
, go to the dist folder cd dist/my-demo-lib
and run npm publish
.
Running unit tests
Run ng test my-demo-lib
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.
你可能也喜欢
- @01ht/ht-client-helper-functions 中文文档教程
- @0x04/string-mutilator 中文文档教程
- @1024pix/ember-testing-library 中文文档教程
- @29aries/mws-advanced 中文文档教程
- @2alheure/vue-safe-mail 中文文档教程
- @2ndaddress/sa-data-factories 中文文档教程
- @3yourmind/vue-yodify 中文文档教程
- @aabenoja/flow-bin 中文文档教程
- @aaronuu/react-layout 中文文档教程
- @abhijithvijayan/tsconfig 中文文档教程