Method and system for realizing micro-front-end architecture, storage medium, equipment and terminal
The invention belongs to the technical field of Web front-end multi-application aggregation architecture, and discloses a method and system for realizing a micro-front-end architecture, a storage medium, equipment and a terminal, and the method comprises the following steps: realizing interactive co...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention belongs to the technical field of Web front-end multi-application aggregation architecture, and discloses a method and system for realizing a micro-front-end architecture, a storage medium, equipment and a terminal, and the method comprises the following steps: realizing interactive communication between a sub-application and a main application by using post Message; synchronizing the routing information of the sub-application to the main application, and retaining routing state information; global public data is shared between the main application and each sub-application, wherein the global public data comprises an identity authentication token, user basic information, website configuration and the like; according to the invention, the main application and the sub-application need to introduce a core package and are simply configured, so that interconnection communication of the main application and the sub-application is realized; due to the fact that most scenes and the sub-applications are |
---|