Hello,

I would like to achieve smth like:

<myApp>@RenderBody()<myApp/>

 

where RenderBody from Razor will render components tags mixed with other 
types of content (from CMS).

Obviously, it won’t work that way because MyApp component will ignore 
innerHtml after init and will show template. I have been researching this 
issue and there were some ideas for storing components definition form 
server in hidden input, or smth that I tried to call an api for components 
on that page etc, but nothing will work well when I have mixed content(not 
only components but also some content rendered with cms helpers etc). 

Is it even possible? Because I am thinking that I’m trying to hard to fit 
Angular2 to my requirements, tech stack and it simply doesn’t fit and I 
need to use smth else.

 

Any ideas, opinions?

 

Best regards.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to