Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

325
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!