ag-element-ui/examples/main.js

33 lines
775 B
JavaScript
Raw Normal View History

2024-07-05 15:42:19 +08:00
import Vue from 'vue'
import App from '../src/App.vue'
//基于element组件封装引入element组件库
2024-07-13 18:10:18 +08:00
import { Input, Select, Option, OptionGroup, DatePicker, Tabs, TabPane, Pagination, Dialog, Button, Form, FormItem, Popover } from 'element-ui';
2024-07-05 15:42:19 +08:00
import 'element-ui/lib/theme-chalk/index.css';
2024-07-08 14:42:31 +08:00
import '../src/styles/element-variables.scss'//element 组件样式文件
2024-07-05 15:42:19 +08:00
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)
2024-07-13 18:10:18 +08:00
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Popover)
2024-07-05 15:42:19 +08:00
// 导入组件库
import erp_element_ui from '../packages'
Vue.config.productionTip = false
Vue.use(erp_element_ui)
new Vue({
render: h => h(App),
}).$mount('#app')