Skip to content

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 --zard

Supported customizations

OptionCLI flagsType / valuesDefaultNotes
Stylesheet format--style <style>css CSS
scss SCSS
less Less
cssChoose the stylesheet format for the generated Angular project.
SSR--ssr
--no-ssr
booleanfalseEnable Angular server-side rendering.
Routing--routing
--no-routing
booleantrueInclude Angular router setup.
zard/ui--zard
--no-zard
booleanfalseAdds zard/ui setup after the Angular scaffold is created.

--yes defaults

Keyvalue
stylecss
ssrfalse
routingtrue
zardfalse

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 --debug apply 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.

Released under the MIT License.