mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-01 05:54:03 +03:00
32 lines
707 B
Markdown
32 lines
707 B
Markdown
# vue-select
|
|
|
|
Rather than bringing in jQuery just to use Select2 or Chosen, this Vue.js component provides similar functionality without the extra overhead of jQuery.
|
|
|
|
|
|
#### Features
|
|
- bootstrap styling
|
|
- typeahead auto-completion
|
|
- 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).
|