@gsa-sam/ngx-uswds
v21.0.0
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) and targets Angular 20.
Keywords
Readme
UswdsComponents
This library was generated with Angular CLI and targets Angular 20.
Code scaffolding
Run ng generate component component-name --project uswds-components to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project uswds-components.
Note: Don't forget to add
--project uswds-componentsor else it will be added to the default project in yourangular.jsonfile.
Build
Run ng build uswds-components to build the project. The build artifacts will be stored in the dist/ directory.
Publishing
After building your library with ng build uswds-components, go to the dist folder cd dist/uswds-components and run npm publish.
Running unit tests
Run npm run test:components to execute the unit tests via Vitest (through Angular's @angular/build:unit-test builder).
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.
