I\'m trying to add a favicon to a Next.js static site without much luck.
I\'ve tried customising the document with components from \'next/document\' https:/
\'next/document\'
Simply added your favicon.ico in public folder, Next js will automatically take that favicon for all pages.
No need to add any favicon link to any pages or in tag no need to add link for favicon.
https://github.com/zeit/next.js/blob/master/errors/static-dir-deprecated.md