1.0.4 • Published 2 years ago
umi-plugin-planet v1.0.4
umi-plugin-planet
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