ng-cw-v12
Version:
Angular UI component library
35 lines (18 loc) • 1.32 kB
Markdown
# Components
基于 angular12 的组件库,目前包含【poi搜索】【天气】【颜色拾取】【gltf预览】【pdf预览】【excel导出】【加载动画】等,持续更新...
## 使用说明
一、说明文档
[https://www.chenxiaopa.cn/ng-cw-docs](https://www.chenxiaopa.cn/ng-cw-docs)
## Code scaffolding
Run `ng generate component component-name --project components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project components`.
> Note: Don't forget to add `--project components` or else it will be added to the default project in your `angular.json` file.
## Build
Run `ng build components` to build the project. The build artifacts will be stored in the `dist/` directory.
## Publishing
After building your library with `ng build components`, go to the dist folder `cd dist/components` and run `npm publish`.
## UnPublishing
Run `npm unpublish ng-cw-v12@0.0.56` to unpublish the package.
## Running unit tests
Run `ng test components` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.