The invention discloses a front-end and back-end isomorphic component
library method,
system, medium and equipment, the
system is jointly formed by a front-end host module and a
Nest component management module, based on a common version control protocol, the front-end host module automatically generates and caches a key based on a module federation technology, specific version component information is obtained through a calling interface, and the information is sent to the
Nest component management module.
Dynamic loading, registration and page use of the remote component are realized; the
Nest component management module sends a version control protocol to the front-end host module, processes a request sent by the front-end host module, returns
metadata information of a specified version, provides a component static file, maintains the
metadata information of the component version, and has the functions of release, activation, switching,
rollback, deletion, gray release and the like of a visual version. According to the method, the isomorphism of the front end and the rear end in component management and data interaction is realized based on the module federation and the NestJS technology, and the development efficiency and the overall performance of the
system are improved.