neuland / micro-frontends

extending the microservice paradigms to web development
https://micro-frontends.org/
MIT License
4.57k stars 476 forks source link

Can we achieve this with angular elements #26

Open mayankbhadauria opened 5 years ago

mayankbhadauria commented 5 years ago

I have tried to conceptualize microfrontend with Angular7 using angular-elements. Not sure how and where to use <#include > with ngix which can intercept URLs.

Any plan to go in that road?

amazzoccone commented 5 years ago

@mayankbhadauria you should expose an API that returns the component, so when it's exec <#include.. it loads that part of code. Main app -> loads from ui services what it needs (in this case using nginx functionality #include)