Skip to content

Instantly share code, notes, and snippets.

@ciamac-da
Created April 14, 2024 21:49
Show Gist options
  • Save ciamac-da/3490ea221687fa8f035647218f112d87 to your computer and use it in GitHub Desktop.
Save ciamac-da/3490ea221687fa8f035647218f112d87 to your computer and use it in GitHub Desktop.
Changing Favicon in Nextjs
// Add icons to Metadata function which is in layout file
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
icons: {
icon: "./favicon.ico",
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment