ORIGAM_NUXT_DEFAULT_MODE_COOKIE_NAME

const
Nuxt / SSR

Default cookie name used by the Origam Nuxt module to persist the active color-mode selection (light/dark/auto) across SSR page loads.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Resolved value

Ecosystem

Used by

Composables and components that consume this constant.

Usage

Examples

Ready-to-paste code snippets using this constant.

Reading the mode cookie server-side

typescript