An Angular 22 single-page app starter in TypeScript with standalone components, signals and lazy-loaded routes, for developers who want a current Angular CLI project without NgModules or Karma. It includes a layout shell, Home, About and 404 pages, strict type checks and unit tests run with Vitest.
by Light CloudSingle-page apps


The project follows the current Angular CLI defaults: standalone components, signals, the application builder and Vitest, so it matches what the Angular docs now teach. Each route's component is its own chunk, and the budgets in angular.json fail the build if the initial bundle grows past 1 MB. There is no lint script yet, so adding angular-eslint is a sensible first change, followed by your own pages. Deploying runs npm run build and serves dist/browser/ from a CDN, with unknown paths falling back to index.html for the Angular Router.
Run npx ng generate component pages/contact, add a route with loadComponent pointing at it in src/app/app.routes.ts, and add a routerLink in src/app/app.html.
Neither. Every component is standalone, and ng test runs the specs with Vitest, the default runner for new Angular CLI projects.
Run npx ng generate environments to create development and production files in src/environments/. The template reads no environment variables today; the app title is the title field in src/app/app.ts.
The host is looking for a file at that path and finds none. Configure it to serve index.html for unknown paths; Light Cloud does this for you.
Yes. Run npm run build and serve dist/browser/ from any static host, such as Netlify, Firebase Hosting or nginx, with a fallback to index.html.