I try to use your package but I go this error:
[Vue warn]: Attribute "options" is ignored on component <vue-select> because the component is a fragment instance.
My code:
<template>
<div class="comments__container">
<div class="row">
<div class="col-sm-6">
<h3 class="comments__filters__title">
{{title}}
</h3>
</div>
<div class="col-sm-6 comments__filters">
<div class="row">
<div class="col-sm-6">
<vue-select options="opt">
</vue-select>
</div>
</div>
</div>
</div>
</div>
</template>
<script type="text/babel" lang="babel">
import VueSelect from 'vue-select2';
export default{
components: {VueSelect},
data(){
return {
opt: ['foo','bar','baz', 'yep']
}
},
}
</script>
Any idea what I'm doing wrong? Or is it a problem with the package?
I try to use your package but I go this error:
My code:
Any idea what I'm doing wrong? Or is it a problem with the package?