showing results for - "add favicon to next js static site"
Sofia
06 Apr 2018
11.Create a /static folder in project root. This will be added to the static export folder.
22.Add favicon file in /static folder.
33.Add _document.js to /pages/ folder according to documentation (nextjs.org) or documentation (github.com).
44.Add <link rel="shortcut icon" href="/static/favicon.ico" /> to head.
55.npm run build && npm run export