@alexsun-top/nuxt-auth-layer

0.1.0 • Public • Published

Nuxt 3 Auth Layer

Nuxt 3 preset layer for auth & session manager.


npm

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.

Readme

Keywords

Package Sidebar

Install

npm i @alexsun-top/nuxt-auth-layer

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

12.9 kB

Total Files

11

Last publish

Collaborators

  • alexsun-top