jeudi 29 mars 2018

There's a way to use dynamic components (pages) on Angular 5?

I'm researching about generic components (a.k.a. dynamic pages) that can be instancied by some string (i.e. "CustomerXComponent") from an object that i got from database and used on my Angular 5 application.

I found this library (ng-component-launcher) and it may fits with my necessities, but i can't find anything about Reflection or about instance components by string.

So, I really want to know if it's possible to instantiate a component by string, like with PHP, that I can include/require a HTML from path.

Thanks, Alexandre.





Aucun commentaire:

Enregistrer un commentaire