Angular
Scaffold an Angular project via the official @angular/cli
Primary commands
bash
npx scafix create angular
npx scafix create angular --style scss --routing --package-manager pnpm
npx scafix create angular --style css --zardSupported customizations
| Option | CLI flags | Type / values | Default | Notes |
|---|---|---|---|---|
| Stylesheet format | --style <style> | css CSSscss SCSSless Less | css | Choose the stylesheet format for the generated Angular project. |
| SSR | --ssr--no-ssr | boolean | false | Enable Angular server-side rendering. |
| Routing | --routing--no-routing | boolean | true | Include Angular router setup. |
| zard/ui | --zard--no-zard | boolean | false | Adds zard/ui setup after the Angular scaffold is created. |
--yes defaults
| Key | value |
|---|---|
| style | css |
| ssr | false |
| routing | true |
| zard | false |
Notes
- zard/ui currently requires the CSS stylesheet option in Angular.
- The upstream Angular CLI does not scaffold with Bun directly. When you choose
--package-manager bun, Scafix uses npm for the scaffold step and then installs project dependencies with Bun afterward.
Shared flow reminder
- Shared flags such as
--name,--directory,--package-manager,--git, and--debugapply here as well. - If required values are omitted and a TTY is available, Scafix prompts for them before calling the stack adapter.
- See CLI Reference for the shared command surface used by
scafix.
