angular-firestarter
angular-firestarter copied to clipboard
Firebase hosting - prerender routes with route params
I'm not completely clear on how to get the prerender functionality working for routes that use route params to fetch the component data from an api.
My route is currenlty set like this in my routing module
{ path: 'episode/:episodeId', component: EpisodeComponent }
I've followed the instructions from this tutorial but it does not mention anything about using route params on components. https://angularfirebase.com/lessons/angular-6-universal-ssr-prerendering-firebase-hosting/