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

183
Vistas
Vue component registration

I have imported the component in the js file

import fmsSubUnitDetails from '../subunitDetails';

export default{
 components: {
    fmsSubUnitDetails
  },
}

in the index.vue file

<fmsSubUnitDetails></fmsSubUnitDetails>

but still getting error

[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

I have tried changing path like adding or removing '/' in the import, it renders the component but as soon as I hard refresh, the component stops rendering again.

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

0

Is it a recursive component? If so, I think you need to use the same name you defined on the component (or the kebab version of it)

export default { 
    name: 'SubUnitDetails', 
    data() { 
        return { properties };
    }
}

import SubUnitDetails from '../subunitDetails';

export default {
    components: { SubUnitDetails },
}

<SubUnitDetails></SubUnitDetails >

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