vue3-select
Version:
A maintained fork of vue-select for Vue 3
45 lines (29 loc) • 1.21 kB
Markdown
This is a forked and maintained version of
[](https://github.com/sagalbot/vue-select), which is no
longer maintained. As the name suggests, this project is specifically designed
to work with the Vue 3.
**Notes**: At the moment, most of the features of vue3-select are the same as
the original vue-select project. As such, users can refer to the original
documentation for usage instructions.
New documentation specific to vue3-select will be available soon...
- **[CSS variables](https://github.com/howard-tzw/vue3-select/blob/main/src/css/global/variables.css)**
- [optgroups](https://github.com/howard-tzw/vue3-select/blob/main/docs/api/props.md#options)
- **[API Documentation](https://vue-select.org)**
- **[CodePen Template](http://codepen.io/sagalbot/pen/NpwrQO)**
```bash
npm install vue3-select
```
Then, import and register the component:
```js
import Vue from 'vue'
import VueSelect from 'vue3-select'
import 'vue3-select/dist/vue3-select.css'
app.component('VSelect', VueSelect)
```
[](https://github.com/howard-tzw/vue3-select/blob/main/LICENSE.md)