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

261
Vistas
Dynamic translation of title in Vue Meta data

I ran into a problem with Vuejs. I'm using VueMeta for handling page titles and so on. And i18n for languages. In every page component we have: metaInfo: { title: '...' } and that's fine up until the need for that titles to be translated. In the html code I do this: {{ $t('allrights') }} and based on the Js files for translation it shows the text.

But in the metaInfo object this, or $t, or store is undefined. How can elegantly access the vue inside that data structure? Callback, inject it somehow or ... ?

about 4 years ago · Juan Pablo Isaza
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