nb-common
nb-common copied to clipboard
Some common component, pipe, service based on angular.
@bigbear713/nb-common
Angular common lib by bigBear713, include some common component
, directive
, pipe
, service
.
Document
Changelog
Readme
Feature
- Support the changeDetection of components as
ChangeDetectionStrategy.OnPush
; - Support to be used in
standalone component
; - Support to be imported as a
standalone component
;
Version
The nb-common's main version will keep up with the Angular's main version
@bigbear713/nb-common | @angular/core |
---|---|
^12.0.0 | ^12.0.0 |
^13.0.0 | ^13.0.0 |
^14.0.0 | ^14.0.0 |
^15.0.0 | ^15.0.0 |
^16.0.0 | ^16.0.0 |
^17.0.0 | ^17.0.0 |
Installation
$ npm i @bigbear713/nb-common
// or
$ yarn add @bigbear713/nb-common
Start the demo project
- Install the dependencies:
npm i
- Build the nb-common lib
npm run build:lib
- Run the nb-common unit test
npm run test:lib
- Start the demo
npm start
- build the demo
npm run build
Contribution
Feature and PR are welcome to make this project better together
License
MIT