Skip to content
Source
Sign inSign up
TanStack/devtools
Open History to see the last commit

README.md

59 lines1.4 KB

1# Basic
2​
3This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 21.2.0.
4​
5## Development server
6​
7To start a local development server, run:
8​
9```bash
10ng serve
11```
12​
13Once 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.
14​
15## Code scaffolding
16​
17Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
18​
19```bash
20ng generate component component-name
21```
22​
23For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
24​
25```bash
26ng generate --help
27```
28​
29## Building
30​
31To build the project run:
32​
33```bash
34ng build
35```
36​
37This 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.
38​
39## Running unit tests
40​
41To execute unit tests with the [Vitest](https://vitest.dev/) test runner, use the following command:
42​
43```bash
44ng test
45```
46​
47## Running end-to-end tests
48​
49For end-to-end (e2e) testing, run:
50​
51```bash
52ng e2e
53```
54​
55Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
56​
57## Additional Resources
58​
59For 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.