ORIGAM_NUXT_DEFAULT_COOKIE_MAX_AGE

const
Nuxt / SSR

Default max-age (in seconds) for the theme and mode persistence cookies set by the Origam Nuxt module — equals exactly one year (60 × 60 × 24 × 365).

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.

Overriding the cookie max-age in createOrigam()

typescript