Angular Standalone Sample
This project is a simple showcase of Angular Standalone Components, demonstrating their basic usage and advantages. Angular Standalone Components are reusable, self-contained components that can be used across your application, improving modularity and maintainability.
Development server
Run npm run start
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Code scaffolding
Run ng generate component --standalone component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Build
Run npm run build
to build the project. The build artifacts will be stored in the dist/
directory.
Running unit tests
Run npm run test
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.