Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we achieve this with angular elements #26

Open
mayankbhadauria opened this issue Jun 17, 2019 · 1 comment
Open

Can we achieve this with angular elements #26

mayankbhadauria opened this issue Jun 17, 2019 · 1 comment

Comments

@mayankbhadauria
Copy link

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
Copy link

@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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants