npm安装mint-ui问题
直接安装npm install mint-ui -S报错:npm WARN mint-ui@2.2.13 requires a peer of vue@^2.3.0 but none is installed. You must install peer dependencies yourself.解决办法:先更新npmnpm install npm -g再安装淘宝的镜像np...
·
直接安装
npm install mint-ui -S
报错:
npm WARN mint-ui@2.2.13 requires a peer of vue@^2.3.0 but none is installed. You must install peer dependencies yourself.
解决办法:
先更新npm
npm install npm -g
再安装淘宝的镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org
注意安装镜像后npm 命令要换成cnpm
最后使用cnpm命令,
cnpm install mint-ui -S
ok,如果对你有用,就随意评论下吧
更多推荐
已为社区贡献3条内容
所有评论(0)