0.1.0 • Published 2 months ago
@alexsun-top/nuxt-auth-layer v0.1.0
Nuxt 3 Auth Layer
Nuxt 3 preset layer for auth & session manager.
Usage
Add @alexsun-top/nuxt-auth-layer
to your project:
pnpm add -D @alexsun-top/nuxt-auth-layer
Add the layer to your Nuxt project:
// nuxt.config.ts
export default defineNuxtConfig({
// ...
extends: [
'@alexsun-top/nuxt-auth-layer',
],
})
Configuration
You can disable some of the dependencies by setting the following environment variables:
Environment Variable | Package |
---|---|
AUTH_DISABLE_AUTHJS | @hebilicious/authjs-nuxt |
AUTH_DISABLE_SESSION | @sidebase/nuxt-session |
AUTH_DISABLE_SECURITY | nuxt-security |
License
MIT.
0.1.0
2 months ago