smapiot / piral

🚀 Framework for next generation web apps using micro frontends. ⭐️ Star to support our work!
https://piral.io
MIT License
1.71k stars 127 forks source link

Support Standalone Bootstrapping API in piral-ng #690

Closed daniel-rck closed 6 months ago

daniel-rck commented 7 months ago

New Feature Proposal

For more information, see the CONTRIBUTING guide.

Description

In Angular since v15.2 the standalone bootstrapping API is the default way. That means, there is not app.module.ts any more. Also the routing is now defined in a class that is called ApplicationConfig, see https://angular.io/guide/router#defining-a-basic-route.

Background

We would like to stay with the default Angular pattern in the future, so It would be nice if piral-ng support this.

Discussion

[Optionally, outline any pros and cons you can currently think of to provide the basis for a solid discussion]

FlorianRappl commented 6 months ago

This is now available via piral-ng/standalone. A dedicated module for creating / converting modern Angular standalone components.