I’m currently running a small Angular 13 application on GitHub Pages and I want to update it to Angular 18 to use the new features. Additionally, I’m thinking move to SSG, to improve the user experience and continue hosting my application on GitHub Pages.
To understand the available options, I created a new application from scratch using Angular 18 and selected the option to add support for SSR. However, I couldn’t find anything specifically related to SSG in the process.
From my understanding, SSG should generate static files on buidl time (like HTML, JavaScript, and CSS), allowing me to continue using GitHub Pages. However, after selecting support for SSR during the ng new
process, my new scratch application includes some server-related files (presumably for SSR).
I can’t find in the Angular documentation any deep info specifically about SSG or how to disable the server functionality of SSR. The only docs that I found is this: https://angular.dev/guide/prerendering#
Am I misunderstanding the concepts of SSG? Or is a server required to use SSG in Angular 18?
Any guidance or clarification would be greatly appreciated!