Implementation system of micro-front-end architecture and deployment method thereof
A technology for realizing systems and main frameworks, applied in software deployment, program control devices, boot programs, etc., can solve the problems of inconvenient management and complex deployment of large-scale front-end projects, improve the degree of reusability, flexible and reliable composition, and reduce resources The effect of repeated loading
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] combined with figure 1 , this embodiment proposes a system for implementing a micro-frontend architecture, including a main framework, a first-level micro-frontend that implements multiple routes, and a second-level micro-frontend that supports dynamic loading.
[0038] As the organizer and caller, the main frame is an independent front-end project with main frame routing, which is used to realize the functions of menu management, log management, and micro-frontend management. The micro-frontend management function also includes micro-frontend registration sub-functions and micro-frontends Actively load sub-functions, through micro-frontend registration sub-functions, a browser link can be directionally associated with a first-level micro-frontend, and through micro-frontend active loading sub-functions, a specified first-level micro-frontend can be linked from the micro-frontend library dynamically loaded into the page. Part of the public library of the micro frontend...
Embodiment 2
[0047] This embodiment proposes a deployment method of a micro front-end architecture. The deployment method is based on the implementation system of a micro front-end architecture in Embodiment 1. The specific deployment process is as follows:
[0048] Separately package the main framework, the first-level micro-frontend, and the second-level micro-frontend;
[0049] Place the packaged main framework, first-level micro-frontend, and second-level micro-frontend in different server folders;
[0050]Use nginx to perform unified configuration of the main framework, first-level micro-frontend, and second-level micro-frontend, and complete the deployment of the micro-frontend architecture.
[0051] In this embodiment, when the first-level micro-frontend / second-level micro-frontend is upgraded, the upgraded part of the first-level micro-frontend / secondary micro-frontend needs to be packaged separately, and then placed in a different server folder, using a reverse proxy The tool per...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com