antd-tools-compatible

tools for ant design

Usage no npm install needed!

<script type="module">
  import antdToolsCompatible from 'https://cdn.skypack.dev/antd-tools-compatible';
</script>

README

antd-tools

  1. 该版本基于antd-tools@5.2.7修复了项目在windows下 spawn npm ENOENT 的bug
  2. 解决方法:修改runCmd.js内 runCmd 方法里新增 如下兼容代码

cmd = cmd==='npm'? /^win/.test(process.platform)?'npm.cmd':'npm':cmd;