Micro-front-end architecture implementation method and device based on resource list protocol

The invention provides a micro-front-end architecture implementation method and device based on a resource list protocol, and belongs to the technical field of communication. The method comprises the steps that a resource list is generated, the resource list is a dependency relationship list of an e...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: XIA YONG, ZHANG JILIANG, HUANG JINGPING, MA PENGCHENG, DUAN JIANGNAN, CHEN SHOUZHE
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 invention provides a micro-front-end architecture implementation method and device based on a resource list protocol, and belongs to the technical field of communication. The method comprises the steps that a resource list is generated, the resource list is a dependency relationship list of an entry chunk of a main page, and the file format of the resource list is a json file; sharing dependency registration among services and registration of micro-services are carried out; loading the resource address table, pre-downloading resources in the resource list according to the configuration of the user, and carrying out serial execution according to a loading sequence; and establishing a communication protocol on the basis of the resource list, and performing communication between the main sub-service and the sub-sub-service according to the communication protocol. The invention provides a set of complete basic mechanism of the micro-front-end architecture, micro-front-end transformation can be carried out on