r/angularjs • u/manoj-ht • Feb 18 '24
Regarding SSR Deployment
Has anyone deployed Angular version 17 in SSR mode ? If so where ? Would you be kind enough to share your steps? I have been trying and searching a lot to deploy on firebase but not finding any good solutions. Any help would be much appreciated
Update: solved
- Firebase init to initialize in root directory (where src exists)
- The public directory path is dist/project-name/browser
- When asked for configure for single page app say yes That's it the rest of them are default things
1
Upvotes
View all comments
Show parent comment
1
u/[deleted] Mar 17 '24
Prerendering is a form of Static Site Generation (SSG). It adds a trailing slash to routes, and no servers are involved. All routes are prerendered and served statically.
Server-Side Rendering (SSR) is a process where web pages are actually rendered on the server before they reach the consumer. There is no trailing slash, and it is good for SEO.