All files / src main.js

0% Statements 0/15
100% Branches 0/0
0% Functions 0/1
0% Lines 0/15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27                                                     
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './mock'
import { Form, FormItem, Button, Input, RadioGroup, RadioButton, Tag, Pagination, Message } from 'element-ui'
 
// Vue.config.productionTip = false
 
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Button)
Vue.use(Input)
Vue.use(RadioGroup)
Vue.use(RadioButton)
Vue.use(Tag)
Vue.use(Pagination)
Vue.prototype.$message = Message
 
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})