mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-10 07:52:23 +03:00
30 lines
686 B
Markdown
30 lines
686 B
Markdown
# vue-select
|
|
|
|
Rather than bringing in jQuery just to use Select2 or Chosen, this VueJS component provides similar functionality without the extra overhead of jQuery.
|
|
|
|
#### Features
|
|
- typeahead auto-scompletion
|
|
- options param accepts simple arrays, and arrays of objects: `['foo','bar']` or `[{label: 'Foo', value: 'foo'}, {label: 'Bar', value: 'bar'}]`
|
|
|
|
|
|
## Build Setup
|
|
|
|
``` bash
|
|
# install dependencies
|
|
npm install
|
|
|
|
# serve with hot reload at localhost:8080
|
|
npm run dev
|
|
|
|
# build for production with minification
|
|
npm run build
|
|
|
|
# lint all *.js and *.vue files
|
|
npm run lint
|
|
|
|
# run unit tests
|
|
npm test
|
|
```
|
|
|
|
For more information see the [docs for vueify](https://github.com/vuejs/vueify).
|