[FR] Implement SSR via Angular Universal
benwinding opened this issue · 0 comments
benwinding commented
What makes nextjs great is the ability to render all pages of the react app as separate html pages which can be loaded fast and indexed by search engines.
Initially I thought that SSR with Angular Universal was complex and hard to implement, but a few blog posts show that it could be quite easy
Initial Plan
- Only SSR with
ngext build --ssr
or possibly on by default - Additional build steps:
1.
Generate a small express server
2.
Crawl through every route in the app and SSR render the page on the express server.
3.
Copy output to dist directory