Is there a way to render Angular app inside another HTML page?

Viewed 212

I would like to know if there is a way to take the build files from an angular app and add it as part of another angular dist folder and launch that app inside a div in the parent app. Basically the micro frontend architecture.

I have looking at options like using window object and customising the main.ts or the index.html, but none of them seem to help.

1 Answers

Does this other HTML page have angular included if so you can simply use the ng-include directive.

If not your best bet is iframe which is suboptimal

Related