Skip to content

安装

您可以使用 nuxi 安装 NuxtAuth

bash
npx nuxi module add sidebase-auth
bash
pnpm exec nuxi module add sidebase-auth
bash
yarn dlx nuxi module add sidebase-auth
手动安装
bash
npm i -D @sidebase/nuxt-auth
bash
pnpm i -D @sidebase/nuxt-auth
bash
yarn add -D @sidebase/nuxt-auth

将 NuxtAuth 添加到您的 nuxt.config

ts
export default defineNuxtConfig({
  modules: [
    '@sidebase/nuxt-auth'
  ],
})

在 MIT 许可证下发布。