Vue-select: Unknown custom element: <v-select>

Created on 13 Apr 2016  路  4Comments  路  Source: sagalbot/vue-select

I get this error when trying to use vue-select:

<template>
  <v-select :value.sync="selected" :options="options"></v-select>
</template>

import vueSelect from 'vue-select'

export default {
  components: {
    vueSelect
  },

  data: function () {
    return {
      selected: null,
      options: [50, 100, 250, 500]
    }
  }
}

Any idea?

Most helpful comment

@wolfgangmeyers the above example was because the component was imported as vueSelect, but written in the template as <v-select>, when it should have been <vue-select>.

If you want to use vSelect, the template would be <v-select>.

All 4 comments

Never mind had problems with vueSelect and v-select ...

Would be great if you could provide more detail about how you resolved it. I have the same issue, but using typescript.

Fixed by changing vSelect to VueSelect

@wolfgangmeyers the above example was because the component was imported as vueSelect, but written in the template as <v-select>, when it should have been <vue-select>.

If you want to use vSelect, the template would be <v-select>.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

theseawolves picture theseawolves  路  4Comments

edalzell picture edalzell  路  3Comments

FrancescoMussi picture FrancescoMussi  路  3Comments

lau-a picture lau-a  路  3Comments

pud1m picture pud1m  路  3Comments