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

route specific style tags only loaded first time #78

Open gearguy365 opened 6 years ago

gearguy365 commented 6 years ago

i am using angular ssr on my multi route application with angular material. however, the route specific style tags in the output html are included only the first time. for example if localhost:8080/route1 uses md-card and md-button, the specific styles of these components are only loaded the first time. upon refreshing the route these style tags are not included anymore and therefore appears broken.