• Empleos
  • Sobre nosotros
  • profesionales
    • Inicio
    • Empleos
    • Cursos y retos
  • empresas
    • Inicio
    • Publicar vacante
    • Nuestro proceso
    • Precios
    • Evaluaciones
    • Nómina
    • Blog
    • Comercial
    • Calculadora de salario

0

280
Vistas
Error con iframe Vue.js no muestra nada

Buen día a todos, tengo el siguiente problema, estoy desarrollando un sitio web en Vue.js, me da el error que quiero implementar una sección específica de noticias en mi sitio web, al usar el componente iframe me sale este error:

 cryptocurrency-news:1 Unsafe attempt to initiate navigation for frame with origin 'http://localhost:8080' from frame with URL 'https://www.reference-website.com/news/cryptocurrency-news'. The frame attempting navigation is targeting its top-level window, but is neither same-origin with its target nor has it received a user gesture. See https://www.chromestatus.com/feature/5851021045661696 Uncaught DOMException: Failed to set the 'href' property on 'Location': The current window does not have permission to navigate the target frame to

El apartado de mi codigo es sencillo, ya que segun documentacion no debe presentar fallas

 <template> <iframe src="https://reference-website.com/news/cryptocurrency-news" width="900" height="700"></iframe> </template> <script> export default { name: 'News' } </script>

No entiendo a que se debe el error, si me pueden orientar les agradezco la ayuda.

about 3 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 Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recomiéndame algunas ofertas
Necesito ayuda