A proof-of-concept for the integration of NestJS for server-side rendering, in an Angular application using i18n.
Based on NestJS ng-universal, this examples provides the ability to serve each i18n bundle, including:
- SSR/Non-SSR routes
- Example of organising Angular SSR logic into NestJS module architecture
Local development for i18n:
- Run either
yarn start:en
oryarn start:sv
- Open your browser to http://localhost:4200
To run the SSR version:
- Run
yarn build:ssr && yarn serve:ssr
- Open your browser to http://localhost:4000