rangle / angular-ssr

Angular 4+ server-side rendering solution compatible with @angular/material, jQuery, and other libraries that touch the DOM (as well as providing a rich feature set!)
BSD 2-Clause "Simplified" License
279 stars 38 forks source link

Styles mess #49

Closed vlodkow closed 7 years ago

vlodkow commented 7 years ago

All styles loaded 2 times in style attributes (one from server, another when app is loaded)

clbond commented 7 years ago

Use --inline=false

rafinskipg commented 7 years ago

@clbond how do we add the option if we are using the "on demand" rendered with express?

ktersius commented 7 years ago

@clbond I would also be interested in this.

I'm getting duplicated styles, another issue I'm experiencing is that host style attributes are being applied on the wrong elements as well. Still troubleshooting this issue.