本文主要是介绍vue报错:dependencies were not found: * element-ui in ./src/main.js * element-ui/lib/theme-chalk/inde,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
vue报错:dependencies were not found: * element-ui in ./src/main.js * element-ui/lib/theme-chalk/inde
解决方案
1、 cmd进入命令行窗口,切入运行的项目文件夹下
2、输入 cnpm i element-ui -S(没有装淘宝镜像的使用 npm i element-ui -S)
这篇关于vue报错:dependencies were not found: * element-ui in ./src/main.js * element-ui/lib/theme-chalk/inde的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!