Replies: 5 comments 3 replies
|
Follow this docs: https://github.com/angular/angularfire/blob/master/docs/deploy/getting-started.md |
sorry i think i didn't explain myself well. The "ng deploy" command only builds the application in SSR mode, it does not build it in "prerender" mode. What I want is to build some pages in "prerender" mode and others in SSR mode. The repository documentation also talks about the old way of doing it, it is not updated to Angular 9. |
|
I'm hoping to support prerendering in |
|
Any updates on this? Has angular fires support for ng deploy been updated to include prerendering? |
|
@jamesdaniels is this already implemented? @stuartcargill where exaclty should I put this snippet ? Tried here but no success |

Uh oh!
There was an error while loading. Please reload this page.
Version info
Angular: 9.1.11
Firebase: 7.15.1
AngularFire: 6.0.0
Other (e.g. Ionic/Cordova, Node, browser, operating system): Node 10
How to reproduce these conditions
Steps to set up and reproduce
Expected behavior
I would like that when doing "ng deploy" the web were published having 2 behaviors. 1, that the URLs chosen as "prerender" will be prerendered and those that are not, will be rendered via SSR.
Actual behavior
When i run "npm run prerender" and "ng deploy", fist generate code in "dist//browser" and server and the last statement generate code in "dist//dist//broswer and server" and this is what is finally uploaded and executed by the Firebase Function, and this is what is finally uploaded and executed by the function, ignoring what the "prerender" statement generated.
All reactions