Dynamic Component render along side Angular Universal

448 Views Asked by At

I am trying to load dynamic components in my view and i did achieve the same using Angular Docs Site Source Code as reference. But the entire piece has been written using document and various selectors, which is only available on the browser. However I want to render the content from server side using angular universal to make my site SEO friendly. Can somebody help me on how it can be achieved.

Thanks in advance!

1

There are 1 best solutions below

0
On

Issue resolved in @angular version 5-beta-6 with platform-server moving from parse5 (DOMAdapter) to domino (actual DOM implementation).