README.md.template 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # <%= utils.classify(name) %>
  2. This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version <%= version %>.
  3. ## Development server
  4. To start a local development server, run:
  5. ```bash
  6. ng serve
  7. ```
  8. Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.
  9. ## Code scaffolding
  10. Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
  11. ```bash
  12. ng generate component component-name
  13. ```
  14. For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
  15. ```bash
  16. ng generate --help
  17. ```
  18. ## Building
  19. To build the project run:
  20. ```bash
  21. ng build
  22. ```
  23. This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.
  24. ## Running unit tests
  25. To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
  26. ```bash
  27. ng test
  28. ```
  29. ## Running end-to-end tests
  30. For end-to-end (e2e) testing, run:
  31. ```bash
  32. ng e2e
  33. ```
  34. Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
  35. ## Additional Resources
  36. For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.