TypeScript: string | null | ((pageContext) => string | null | undefined)
Environment: server
Cumulative: false
Global: true

Provided by: vike-react/vike-vue/vike-solid

You need to install vike-react/vike-vue/vike-solid to be able to use this setting.

⚠️

This setting is experimental and may be removed in the future. Consider using +Head instead.

The favicon setting sets the page's favicon.

// pages/+config.js
 
import favicon from './favicon.svg'
 
export default {
  favicon
}

If you want to set a different favicon for different pages, then consider creating a custom setting as shown at Guides > <head> tags > Custom settings.

See also