28 lines
626 B
JavaScript
28 lines
626 B
JavaScript
import Vue from 'vue'
|
||
import App from '../src/App.vue'
|
||
|
||
|
||
//基于element组件封装,引入element组件库
|
||
import { Input, Select, Option, OptionGroup, DatePicker, Tabs, TabPane, Pagination, Dialog, Button } from 'element-ui';
|
||
import 'element-ui/lib/theme-chalk/index.css';
|
||
Vue.use(Input);
|
||
Vue.use(Select);
|
||
Vue.use(OptionGroup);
|
||
Vue.use(Option);
|
||
Vue.use(DatePicker);
|
||
Vue.use(Tabs);
|
||
Vue.use(TabPane);
|
||
Vue.use(Pagination)
|
||
Vue.use(Dialog)
|
||
Vue.use(Button)
|
||
|
||
// 导入组件库
|
||
import erp_element_ui from '../packages'
|
||
Vue.config.productionTip = false
|
||
Vue.use(erp_element_ui)
|
||
|
||
|
||
new Vue({
|
||
render: h => h(App),
|
||
}).$mount('#app')
|