Skip to content

A powerful micro front-end framework 🚚

License

Notifications You must be signed in to change notification settings

lzm0x219/garfish

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

garfish

English | 简体中文

Garfish

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.

Documentation

API

Quick Start

  1. Installation
$ yarn add garfish # or npm i garfish -S
  1. 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',
    },
  ],
});

Functionality

  • Multi-technology system coexistence
  • Runtime sandboxing
  • Independent development and deployment of sub-applications
  • Resource preloading
  • Rich and diverse plug-in system

LICENSE

Garfish is released under the Apache License, Version 2.0.

About

A powerful micro front-end framework 🚚

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 78.0%
  • JavaScript 13.3%
  • HTML 3.1%
  • Vue 2.2%
  • CSS 1.8%
  • Less 1.6%