首先安装element npm i element-ui -S 然后在main.js中引入使用 import Element from 'element-ui'; import "../../ebeikeWap/node_modules/element-ui/lib/theme-chalk/index.css" Vue.use(Element); <template> <div