Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

326
Visualizações
How do I set the Favicon icon at the top of my website in nuxt.js

I first set it up in the nuxt.config.js file,Then putting the favicon.ico file in the root directory does not work, then putting it in the static folder does not work, and finally putting it in assets does not work, the icon at the top is not displayed

head:{
  link: [
      { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
    ],
}

I also tried to change the configuration to the following and then adjust it, but it still did not take effect.

<head>
  <link rel='icon' type='image/png' href='/favicon.png'>
</head>
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

You can follow these steps below to get it done:

  1. Navigate to the static folder and delete the favicon.ico file.

  2. Now, go ahead and add a new favicon inside the static folder (note that the favicon name should be favicon.ico

  3. Confirm if your nuxt config file has this in it:

link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }]
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda