main.js 562 字节
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/styles/common.css';
// 公用表格高度计算
import tableHeight from './utils/tableHeight'
// 表格自适应指令
Vue.use(tableHeight)

Vue.config.productionTip = false

Vue.use(ElementUI);

/* eslint-disable no-new */
// new Vue({
//   components: { App },
//   router,
//   template: '<App/>'
// }).$mount('#app')
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')