Component reuse method and device, electronic equipment and storage medium
The embodiment of the invention provides a component reuse method and device, electronic equipment and a storage medium. The method is applied to a vue framework, and the vue framework is provided with an external component loader and a data hosting service. A universal component and corresponding u...
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 embodiment of the invention provides a component reuse method and device, electronic equipment and a storage medium. The method is applied to a vue framework, and the vue framework is provided with an external component loader and a data hosting service. A universal component and corresponding universal component data are stored in the data hosting service, and the universal component is compiled and generated based on an existing vue component; the component reuse method comprises the steps that the external component loader obtains reuse data; the external component loader sends the reused data to the data hosting service; the data hosting service queries target universal component data matched with the reused data; and the external component loader loads a target universal component to generate an external component according to the target universal component data so as to perform page rendering. According to the embodiment of the invention, the universal component in the vue framework is separated fro |
---|