You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
643 B

// 引入Vue
import Vue from "vue";
// 引入App
import App from "./App";
// 引入Element-ui组件库
// import ElementUI from 'element-ui';
// 引入ElementUI的全部样式
// import 'element-ui/lib/theme-chalk/index.css';
// 按需引入
import {Button, Row, DatePicker} from "element-ui";
// 设置Vue
Vue.config.productionTip = false
// 使用插件
// Vue.use(ElementUI); // 引入全部组件
// 按需注册组件
Vue.component(Button.name, Button);
Vue.component(Row.name, Row);
Vue.component(DatePicker.name, DatePicker);
// 实例化Vue
new Vue({
components: {
App
},
render: h => h(App),
}).$mount('#app')