README
antd-tools
- 该版本基于antd-tools@5.2.7修复了项目在windows下 spawn npm ENOENT 的bug
- 解决方法:修改runCmd.js内 runCmd 方法里新增 如下兼容代码
cmd = cmd==='npm'? /^win/.test(process.platform)?'npm.cmd':'npm':cmd;
tools for ant design
<script type="module">
import antdToolsCompatible from 'https://cdn.skypack.dev/antd-tools-compatible';
</script>
cmd = cmd==='npm'? /^win/.test(process.platform)?'npm.cmd':'npm':cmd;