【文件属性】:
文件名称:vue-select2:Vue中的select2组件
文件大小:29KB
文件格式:ZIP
更新时间:2021-05-05 21:27:17
vue select2 JavaScript
Vue Select2组件
该项目是使用版本2.9.1生成的。
指示
该项目旨在显示如何使用v-select2-component。
如果要在Vue 3.0中使用它,请检查 。
v-select2组件
源代码位于: : 。
相关版本
Vue-Select2-Component基于以下插件和libs(version):
如何使用
安装
// npm install
npm install v-select2-component --save
用作组件
导入为全局组件。
// import Select2Component
import Select2 from 'v-select2-component' ;
Vue . component ( 'Select2' , Select2 ) ;
new Vue ( {
// ...
} )
导入单个组件。
// import Sel