angular-firestarter icon indicating copy to clipboard operation
angular-firestarter copied to clipboard

Firebase hosting - prerender routes with route params

Open eruecco87-zz opened this issue 7 years ago • 0 comments

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/

eruecco87-zz avatar Jun 13 '18 06:06 eruecco87-zz