n naroDocs

Angular

Angular apps build with ng build and deploy the browser output with SPA fallback.

Detected by
@angular/core
Build command
npm run build
Output directory
dist/<project>/browser
Runtime
Static assets
SPA fallback
Yes
Build cache
.angular/cache

Where the output is read from

naro reads outputPath from angular.json — dist/<project>/browser with the application builder. Projects that use @angular/ssr are refused: server rendering is not supported yet.

Deploy it

Run this inside the project. The first deploy creates and links it.

npx naro-cli deploy
npx naro-cli deploy --prod

Overrides

Project settings → Build configuration changes the build script and output directory for a project that does not follow its framework's defaults.