This project was generated with Angular CLI version 17.3.7.
Simple component library for Angular.
Run ng serve
and you should be able to develop with the live reload feature.
Running ng serve
will start a development server to modify components
and see results immediately on http://localhost:4200
by default.
Library components are located on projects/
.
The projects/app/
folder is the project with the projectType: "application"
used to test the components in development mode.
The projects/common/
folder is used to share code between libraries.
Add any needed path inside the app/tsconfig.app.json
file if you add any
libraries to get the reload behavior to test it while running ng serve
. This
paths will not be used when building for production.
Lets say you want to test the @ngx-aspn-lib/input
component, all you need to
do is run ng test input
and it will execute
Karma displaying the tests results.
Remeber that it behaves like the ng serve
command and will reload any save
you do on the .spec.ts
file.
Use the README.md inside each component folder, such as projects/input
as it
will be used to be shown on the npm page, if you ever publish it to the registry.