Angular
Documentation
Quickstart
Installation
npx --yes --package @angular/cli@latest ng new my-first-angular-app# For the `Do you want to enable Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering)?` prompt, select `yes`
Configuration
The builder processes the Angular Router configuration to find all non-parameterized routes and prerenders them.
For parameterized routes (e.g. product/:id
), the docs explain how to create a routes.txt
file.
Please read the docs for more information on routing.
Deployment
Build
npm run build
Preview
npx --yes serve@latest --single dist/my-first-angular-app/browser
Deploy
npx --yes bunny-launcher@latest --interactive