1.首先在package.json中查看vue版本和element-ui版本 2.找到element-ui官网https://element.eleme.cn/#/zh-CN/component/quickstart,点击element-ui
3.进入到element–ui组件下载的地址
https://github.com/ElementUI/vue-cli-plugin-element
4.下载插件 vue-cli-plugin-element git clone https://github.com/ElementUI/vue-cli-plugin-element.git 5.根据README 没有项目就创建项目
git clone https://github.com/ElementUI/vue-cli-plugin-element.git