赞
踩
npm i xxx@1.2.0 -save安装制定版本号
首先看.bablerc的配置
当你执行npm run dev时有可能会报如下错误:
处理方法: 执行npm install babel-plugin-component -D即可解决
当报Unknown plugin "import"是同样的错误
npm install babel-plugin-import -D即可解决
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。