ag-element-ui/examples/main.js

28 lines
626 B
JavaScript
Raw Permalink Normal View History

2024-06-28 15:13:20 +08:00
import Vue from 'vue'
import App from '../src/App.vue'
2024-07-05 14:04:15 +08:00
2024-07-01 14:27:49 +08:00
//基于element组件封装引入element组件库
2024-07-05 14:04:15 +08:00
import { Input, Select, Option, OptionGroup, DatePicker, Tabs, TabPane, Pagination, Dialog, Button } from 'element-ui';
2024-07-01 15:52:20 +08:00
import 'element-ui/lib/theme-chalk/index.css';
2024-07-01 14:27:49 +08:00
Vue.use(Input);
2024-07-02 17:13:44 +08:00
Vue.use(Select);
2024-07-04 14:46:53 +08:00
Vue.use(OptionGroup);
Vue.use(Option);
Vue.use(DatePicker);
2024-07-04 18:32:36 +08:00
Vue.use(Tabs);
Vue.use(TabPane);
2024-07-04 19:35:56 +08:00
Vue.use(Pagination)
2024-07-05 14:04:15 +08:00
Vue.use(Dialog)
Vue.use(Button)
2024-06-28 15:13:20 +08:00
2024-07-01 14:27:49 +08:00
// 导入组件库
import erp_element_ui from '../packages'
2024-06-28 15:13:20 +08:00
Vue.config.productionTip = false
2024-07-01 14:27:49 +08:00
Vue.use(erp_element_ui)
2024-06-28 15:13:20 +08:00
new Vue({
render: h => h(App),
}).$mount('#app')