1.0.1 • Published 2 years ago
@marihom/el-load-select v1.0.1
el-load-select
基于element-ui二次封装的select组件
安装
npm install @marihom/el-load-select
# 或者 yarn add @marihom/el-load-select
使用教程
在Vue项目中的main.js
文件中,加入如下代码:
import Vue from 'vue'
import loadSelect from '@marihom/el-load-select'
Vue.use(loadSelect)
在.vue
文件中,使用该组件:
<template>
<load-select></load-select>
</template>
load-select
组件的具体使用教程可以参考我的另一个仓库vue-load-select
待完善
- 将具体的使用教程用一个vuepress来代替
注意事项
该插件是基于element-ui
中的Select
组件进行二次封装,所以在你的Vue项目中使用时需要同时导入element-ui
库,具体的导入步骤可以参考官方网站