Giter Site home page Giter Site logo

microfe-router-vue's Introduction

Microfe VueRouter

基于 single-spa 微前端路由插件,目前处于设计阶段

Problem

当前,基于 single-spa 微前端模式刚刚起步,微前端生态系统尚未完善,缺少全局的路由分发机制,导致主工程与应用模块之间的关联程度过多,违背了前端微服务化的设计初衷。因此本插件将从前端路由出发,既要实现前端聚合方案,又减少各模块之间的相互依赖,实现全局路由分发的模式。

Solution

  • 动态注册应用模块的路由
  • 全局分发视图路由

Dependence

  • vue-router
  • single-spa
  • single-spa-vue
  • single-spa-sdk(to be published)

Todos

  • 在注册应用模块的过程中,同时注册模块路由
  • 全局路由支持应用之间跳转,实现无痛刷新
  • 支持 Vuex

microfe-router-vue's People

Contributors

oxyzhg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.