在VUE-CLI 3下的第一个Element-ui项目(菜鸟专用) (https://www.cnblogs.com/xzqyun/p/10780659.html) 上面这个链接是vue-cli3.0 下 安装 element-ui的详细过程,如果想要按需引用看下面的 1.引入vue add element How do you want to import Element? -->选择 Import on demand (关键) Choose the locale you want to lo
方法一.<template> <input type="text" v-model='componentName'> <button @click='add'>click me to add a component</button> </template> <script> // 引入要添加的所有组件 import component1 from './components/component1.vue' impo