1.0.4 • Published 2 years ago

umi-plugin-planet v1.0.4

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

umi-plugin-planet

NPM version NPM downloads

config for planet

Install

# or yarn
$ npm install umi-plugin-planet

Development UI

UI mini start:

$ npm run build --watch
$ npm run start

Usage

Configure in .umirc.js,

export default {
  plugins: [
    ['umi-plugin-planet'],
  ],
}

Options

export default {
  qiankun: {
    // qiankun config
    master: {
      apps: [
        // config xingxingId only
        { xingxingId: '' }
      ]
    }
  },
  planet: {
    // umi-request config
    proxy: { // cors
      development: 'http://localhost:8008/',
      production: 'http://localhost:8009/',
    },
  }
}

LICENSE

MIT