Skip to content

Micro-Frontend Integration - Qiankun

NPM Version

Build artifacts are adapted for Qiankun micro-frontend framework.

Setup

  1. Install the plugin
bash
$ npm add @winner-fed/plugin-qiankun -D
bash
$ yarn add @winner-fed/plugin-qiankun -D
bash
$ pnpm add @winner-fed/plugin-qiankun -D
bash
$ bun add @winner-fed/plugin-qiankun -D
  1. Enable the plugin in the .winrc configuration file
ts
import { defineConfig } from 'win';

export default defineConfig({
  plugins: [require.resolve('@winner-fed/plugin-qiankun')],
  qiankun: {
    child: {}
  }
});

Released under the MIT License.