Method and system for loading vue module based on module federation, and medium

The embodiment of the invention provides a vue module loading method and system based on module federation and a medium, and the method comprises the steps: obtaining the function information of a plurality of vue components, and generating a plurality of component blocks with different functions ac...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LU FEIYU, JU DONGMIN, XIA GUORONG, YANG RUI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention provides a vue module loading method and system based on module federation and a medium, and the method comprises the steps: obtaining the function information of a plurality of vue components, and generating a plurality of component blocks with different functions according to the function information; obtaining a configuration parameter, creating a configuration file through the configuration parameter, and configuring the component block through the configuration file; obtaining a target component, and comparing and screening the target component with the configured component block to obtain a component block corresponding to the loading target; requesting federal configuration, analyzing the federal configuration, transmitting an analysis result to the component block corresponding to the loading target, and optimizing the loading information to obtain the loading information; transmitting the loading information to the terminal for display; different blocks are divided by