{
moveMock: false, // whether move _mock.js to mock, default to true
moveService: false, // whether move service.js to src/services/, default to true
modifyRequest: false, // whether modify umi-request to util(s)/request (if it exist), default to true
autoAddMenu: false, // whether add name and icon config to route config when download a pro, default to true
}
umi-plugin-pro-block
A plugin for deliver umi block files like ant design pro structure.
When you use
umi block demoto download a block, if you did not use this plugin, you will get:And if you use it, you will get:
Ant will replace
umi-requesttoutil(s)/request.jsif it exist.Usage
Configure in
.umirc.js,Options
LICENSE
MIT