mirror of
https://github.com/tenrok/vue-select.git
synced 2026-05-23 03:54:04 +03:00
0d62251558
- rebuild homepage at `docs/homepage`
767 B
767 B
Vue Compatibility
vue ~2.0usevue-select ~2.0vue ~1.0usevue-select ~1.0
NPM Based WorkFlows
$ npm install vue-select
Browser Globals
Include vue & vue-select.js - I recommend using unpkg.com.
<!-- include VueJS first -->
<script src="https://unpkg.com/vue@latest"></script>
<!-- use the latest release -->
<script src="https://unpkg.com/vue-select@latest"></script>
<!-- or point to a specific release -->
<script src="https://unpkg.com/vue-select@1.30"></script>
Then register the component in your javascript:
Vue.component('v-select', VueSelect.VueSelect);
From there you can use as normal. Here's an example on JSBin.