iview 安装
npm install iview --save
引入iview
import Vue from 'vue'
import App from './App'
import router from './router'
import iView from 'iview' //引入ivew库
import 'iview/dist/styles/iview.css' // 使用 CSS
Vue.config.productionTip = false
Vue.use(iView)
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
template: '<App/>',
components: { App }
})