Fork自 CSDN 技术社区 / csdn-datav
import Vue from 'vue' import App from './App.vue' import { Button, Select } from 'element-ui' import router from './router.js' import './components/vant-ui' Vue.config.productionTip = false Vue.use(Button) //注册引入的组件 Vue.use(Select) new Vue({ router, render: h => h(App), }).$mount('#app')