English | 简体ä¸æ–‡
Garfish is a micro front-end framework, mainly used to solve the problems of cross-team collaboration, diversification of technology system, increasing complexity of applications brought by modern web applications in the context of front-end ecological boom and increasing complexity of web applications, and Garfish has been polished and tested by a large number of online applications, with strong functional stability and reliability.
Garfish Goals
Multiple independently delivered front-end applications is integrated into a whole,and front-end applications are disintegrated into some smaller and simpler applications that can be "independently developed", "independently tested" and "independently deployed", while still appearing to users as a single cohesive product.
- Installation
$ yarn add garfish # or npm i garfish -S
- Use
import Garfish from 'garfish';
Garfish.run({
domGetter: '#subApp',
apps: [
{
name: 'vueApp',
activeWhen: '/vueApp',
entry: 'http://localhost:9000',
},
{
name: 'reactApp',
activeWhen: '/reactApp',
entry: 'http://localhost:8000',
},
],
});
- Multi-technology system coexistence
- Runtime sandboxing
- Independent development and deployment of sub-applications
- Resource preloading
- Rich and diverse plug-in system
Garfish is released under the Apache License, Version 2.0.