umi-plugin-dlc-gaode
v0.0.9
Published
test
Downloads
1
Readme
umi-plugin-demo1
test
Usage
Configure in .umirc.js
,
export default {
plugins: [
['umi-plugin-demo1', options],
],
}
Options
TODO
LICENSE
MIT
插件作用
umi 本身没有html是在内存重构造的直通通过插件在编译的时候写入 export default (api, opts) => { api.addHTMLHeadScript({ type:"text/javascript", src: 'http://api.map.baidu.com/api?v=2.0&ak=tReSreOsG641xDFjX9NTiXm4Kvlet5Xo', }); };