Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

292
Vistas
'KeyboardEvent.keyCode' modifier on 'v-on' directive is deprecated. Using 'KeyboardEvent.key' instead in vue

I am migrating my application vue 2 to vue 3. While running the application, i am getting some deprecation error.

In my keyboard event modifier, i was using numbers and key for keyboard event. But, this concept is deprecated so i am getting errors. I am not sure how to use it now?

Previously

 @keyup.ctrl.86="onUpdateEvent()"

I am getting error because of using numbers. How to resolve those?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You can find this in the docs: https://v3.vuejs.org/guide/migration/keycode-modifiers.html#_3-x-syntax

It looks like you should be using the kebab-case name of the key rather than a numeric keycode, so you would use @keyup.ctrl.v in this case.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda