ag-element-ui/examples/main.js

19 lines
404 B
JavaScript
Raw Normal View History

2024-06-28 15:13:20 +08:00
import Vue from 'vue'
import App from '../src/App.vue'
2024-07-01 14:27:49 +08:00
//基于element组件封装引入element组件库
2024-07-02 17:13:44 +08:00
import { Input, Select } 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-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')