vue-select下载 - vue select组件支持筛选/搜索、Vuex、AJAX、SSR

3237 2020-03-10 JavaScript MIT 官方网站

vue select组件,支持筛选/搜索、Vuex、AJAX、SSR、单个/多个选项,不依赖其他库。

vue-select下载 下载 下载 下载 下载 下载 下载 下载 下载 下载 下载 下载 下载 下载 下载



Everything you wish the HTML <select> element could do, wrapped up into a lightweight, zero dependency, extensible Vue component.

  • Tagging

  • Filtering / Searching

  • Vuex Support

  • AJAX Support

  • SSR Support

  • ~20kb Total / ~5kb CSS / ~15kb JS

  • Select Single/Multiple Options

  • Customizable with slots and SCSS variables

  • Tested with Bootstrap 3/4, Bulma, Foundation

  • +95% Test Coverage

  • Zero dependencies


Complete documentation and examples available at


$ npm install vue-select

Register the component

import Vue from 'vue'
import vSelect from 'vue-select'
Vue.component('v-select', vSelect)

You may now use the component in your markup

<v-select v-model="selected" :options="['Vue.js','React']"></v-select>

You can also include vue-select directly in the browser. Check out thedocumentation for loading from CDN..