I have the following question about taking direction to build a web application separated into a micro-front-end app. For this purpose, I’m using Angular Elements. I’m reading the official documentation at https://angular.dev/guide/elements, and my question is:
How can I bundle (run) ng build and embed a script in my page that automatically bootstraps the app when the custom element is added to the DOM?
<popup-element message="alabala"></popup-element>
– when I have this on my page, I want my micro app to start.
Note: I’m using the latest release, 18.2.x, and the experimental zone-less feature. The Zone.js is messing my router in the outer app, which is Aurelia 🙂
By running the example from the angular docs, I can not see it as a stand-alone working web component.
2