davideast / angular-universal-express-firebase

A packaged Cloud Function to serve Angular Universal apps.
50 stars 8 forks source link

Cannot view server rendered html and css when angular app is routed with lazy loading #11

Open kartikgreen opened 7 years ago

kartikgreen commented 7 years ago

I have lazy loaded few modules and deployed the code to firebase hosting . When i view the page source, I don't see the seo content. I configured the server side rendering as per your video tutorial screen shot 2017-10-06 at 9 50 48 pm

Ashishdce commented 6 years ago

@kartikgreen hey man, try using this https://github.com/angular/universal/tree/master/modules/module-map-ngfactory-loader. Also provide routes for the server inside the trigger function configuration in the server.ts.

kartikgreen commented 6 years ago

@Ashishdce This is something to be done with this package.