安装npm install iview -S 在main.js引入 import iView from 'iview' import 'iview/dist/styles/iview.css' Vue.use(iView) 可以使用了