new Vue({
el: '#app',
components: { vSelect: VueSelect.vSelect }
})
Plugin options and defaults
Installing the plugin makes the select component globally available throughout the app using Vue.component. Here are the available options and their defaults:
Vue.use(VueSelect, {
/**
* The name of the globally available component.
* defaults to <v-select>
*/
name: 'vSelect',
/**
* A Vue mixin that can be used to override
* default options and methods of the original
* component. Useful to define app specific
* standart of the select component.
*/
mixin: {}
})