Vue Select | VueJS Select2/Chosen Component (original) (raw)
# Yarn / NPM
Install with yarn or npm:
Then, import and register the component:
The component itself does not include any CSS. You'll need to include it separately:
# In the Browser
vue-select ships as an UMD module that is accessible in the browser. When loaded in the browser, you can access the component through the VueSelect.VueSelectglobal variable. You'll need to load Vue.js, vue-select JS & vue-select CSS.
Then register the component in your javascript:
# Vue Compatibility
- Vue
2.x, use vue-select3.x. - Vue
3.x, use vue-select4.x@beta.