Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kartikgreen opened this issue Oct 6, 2017 · 2 comments

Comments

@kartikgreen
Copy link

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 kartikgreen changed the title cannot view server rendered html and css when angular app is routed with lazy loading Cannot view server rendered html and css when angular app is routed with lazy loading Oct 6, 2017
@Ashishdce
Copy link
Contributor

@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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants