Tip
Replace every instance of app-name with the name of the project.
- Node :
24.x - Package Manager:
pnpm@10.24.0 - Framework:
Angular@21 with zoneless, ssr, and hmr enabled - Styling:
TailwindCSS@4.1 - Linter:
Oxlint - Formatter:
Oxfmt,
- Angular Core v21
- Angular Zoneless enabled, with
OnPushdetection strategy by default - Angular SSR enabled with Incremental Hydration
- Angular HMR enabled
- TailwindCSS 4.1 with pre-configured styles (typography, colors, motions)
- Oxlint to lint code almost 100x faster than Eslint with Type-Aware Linting
- Oxfmt to format code 30× faster than Prettier (Prettier extension might be needed to format .html files)
- Satoshi variable font as default font
- VSCode recommended extensions
- GenAI ready with
Agent.mdfile along with.claude,.cursorand.geminifolders for prompt storage
Important
Node version must be v24.x
Learn more at https://angular.dev/reference/versions
If pnpm is not installed, simply run:
npm install -g pnpm@10.24.0Then, install the dependencies:
pnpm installTo start a local development server, run:
ng serveor
pnpm devOnce 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.
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
ng generate component component-nameFor a complete list of available schematics (such as components, directives, or pipes), run:
ng generate --helpTo lint your code using Oxlint, run:
pnpm lint Warning
Angular ng lint command will not work in this project
To format your code using Oxfmt, run:
pnpm formatTo build the project run:
ng buildThis 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.
To execute unit tests with the Vitest test runner, use the following command:
ng testFor end-to-end (e2e) testing, run:
ng e2eAngular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
For more information on using the Angular CLI, including detailed command references, visit the Angular CLI Overview and Command Reference page.