- ng new angular-app-ssr
- Routing (yes)
- CSS (select)
Running test app:
ng serve --open
Navigation to:
http://localhost:4200
- ng add @nguniversal/express-engine
- npm run build:ssr
- dist/angular-app-ssr/browser
- dist/angular-app-ssr/server
Running test app via SSR:
npm run server:ssr
Navigation to:
http://localhost:4000