Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

319
Visualizações
Vue-select: Error in render function: (found in <VSelect>)

I'm working on an old project that has the next:

  • Vue: 2.1.10
  • Webpack: 1.14.0
  • Vue select: 2.6.4

So, I want to upgrade Vue Select to the next version(3.0.0) and maybe upgrade it up to date the get all the features. But when I upgrade it I get the next error in the dev console:

[Vue warn]: Error in render function: (found in <VSelect>)
TypeError: t._g is not a function
    at Proxy.eval (eval at <anonymous> (app.js:67:5888), <anonymous>:1:18314)
    at VueComponent.Vue._render (eval at <anonymous> (app.js:12:28224), <anonymous>:3609:22)
    at VueComponent.updateComponent (eval at <anonymous> (app.js:12:28224), <anonymous>:2158:21)
    at Watcher.get (eval at <anonymous> (app.js:12:28224), <anonymous>:2469:25)
    at new Watcher (eval at <anonymous> (app.js:12:28224), <anonymous>:2452:12)
    at mountComponent (eval at <anonymous> (app.js:12:28224), <anonymous>:2162:17)
    at VueComponent.Vue$3.$mount (eval at <anonymous> (app.js:12:28224), <anonymous>:7252:10)
    at VueComponent.Vue$3.$mount (eval at <anonymous> (app.js:12:28224), <anonymous>:9301:16)
    at init (eval at <anonymous> (app.js:12:28224), <anonymous>:2931:13)
    at createComponent (eval at <anonymous> (app.js:12:28224), <anonymous>:4656:9)

Vue select import

import vSelect from 'vue-select'

Vue.component('v-select', vSelect)

I'm trying with the example that Vue Select says

<v-select :options="['Canada', 'United States']"></v-select>

The v-select component is mounted but not rendered. If I check it from the Vue Dev Tools Panel I can see it and check everything in the v-select component.

I saw that Vue Select from 2.6.4 to 3.0.0 upgraded Webpack to 4. I don't know if that is the problem and is incompatible with my current project.

Also, I checked the documentation https://vue-select.org/guide/upgrading.html but nothing seems like it fits with my problem.

I think that if I upgrade Webpack and Vue could work, but this option at the moment is not possible and according to the Vue Select documentation, the component is compatible with Vue 2.x.x

Has anyone else experienced this or something similar?

Thank you in advance! I appreciate your help!

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda