favicon
 Environment: server
 Environment: servertype Value = string | null | undefined
type Favicon = Value | ((pageContext) => Value) Provided by:
 Provided by: vike-react/vike-vue/vike-solidYou need
vike-react/vike-vue/vike-solidto be able to use this setting.
⚠️This setting is experimental and may be removed in the future. Consider using
+Headinstead.
The favicon setting sets the page's favicon.
// pages/+config.js
 
import favicon from './favicon.svg'
 
export default {
  favicon
}// pages/+config.ts
 
import type { Config } from 'vike/types'
import favicon from './favicon.svg'
 
export default {
  favicon
} satisfies ConfigIf you want to set a different favicon for different pages, then consider creating a custom setting as shown at Guides >
<head>tags > Custom settings.