• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

204
Views
El ícono de la pestaña del navegador no se muestra después de enviarlo a Github Vue

El ícono de la pestaña de mi navegador no aparece después de enviar mi repositorio a github. Aparece bien cuando lo pruebo en localhost.

La izquierda muestra mi sitio web alojado en github, la derecha muestra mi sitio web en el host local

Aquí está mi código en index.html:

 <!DOCTYPE html> <html lang=""> <head> <link rel="icon" href="public/favicon.ico" type="image/x-icon" /> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width,initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> body { font-family: "Futura-Book"; margin: 0; } </style> </head> <body> <!-- noscript> <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> </noscript --> <div id="app"></div> <!-- built files will be auto injected --> </body> </html>

y aquí está la ruta de mi archivo

Agradecería cualquier ayuda y sugerencia, gracias!

about 3 years ago · Juan Pablo Isaza
1 answers
Answer question

0

El ícono debe estar en la raíz de la carpeta dist. Entonces, eliminar al público del camino debería solucionar el problema.

 <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />

Si no funciona, cambie el nombre de favicon.ico a otro.

 <link rel="shortcut icon" href="something.ico" type="image/x-icon" />
about 3 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error