Nuxt session middleware to get a persistent session per app user, e.g., to store data across multiple requests. The nuxt session module provides the useSession() composable out of the box and sets up API endpoints to interact with your session to make working with sessions feel like a breeze.
Once one sub-option of the module is given, all others are required.
E.g., when api: { isEnabled: false } is set, TS wants the other options as well, although they are optional. This is probably related to how nuxt/schema handles these types.
Once one sub-option of the module is given, all others are required.
E.g., when
api: { isEnabled: false }
is set, TS wants the other options as well, although they are optional. This is probably related to hownuxt/schema
handles these types.