angular-universal-express-firebase icon indicating copy to clipboard operation
angular-universal-express-firebase copied to clipboard

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

Open kartikgreen opened this issue 7 years ago • 2 comments

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

kartikgreen avatar Oct 06 '17 16:10 kartikgreen

@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.

Ashishdce avatar Oct 08 '17 07:10 Ashishdce

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

kartikgreen avatar Oct 08 '17 19:10 kartikgreen