Code Monkey home page Code Monkey logo

vue-cli-plugin-qiankun's Introduction

* vue-cli-plugin-qiankun*

An Vue-cli3 Plugin for micro-frontend qiankun application

结合 qiankun 快速生成微前端应用的脚手架插件

Features

  • qiankun 接入,子应用打包配置接入

  • 修改 qiankun 官网 demo 中 vue 子应用 public 下静态资源加载不出来的问题

  • 主应用和子应用中基础的路由处理

  • demo 中增加了父子组件之间通信的示例

  • IE下的兼容显示(关闭jsSandbox,fetch 增加 pollyfill)

Demo

demo

Setup

主应用生成方式

vue create portal
cd portal
vue add vue-cli-plugin-qiankun-portal

子应用生成方式

vue create demo1
cd demo1
vue add vue-cli-plugin-qiankun-microapp

Inspired

test

vue-cli-plugin-qiankun's People

Contributors

jenniferyingni avatar

Stargazers

 avatar  avatar  avatar 开发者小蓝 avatar liuweimin avatar  avatar  avatar  avatar  avatar xx avatar

Watchers

 avatar Aliom avatar

vue-cli-plugin-qiankun's Issues

是否发成npm包

现在要搭建一个脚手架的话,还要clone你这个项目,有点不方便

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.