Nuxt 示例

这是一个关于如何在 Nuxt 中使用 Better Auth 的示例。

🌐 This is an example of how to use Better Auth with Nuxt.

实现以下功能: 电子邮件和密码。使用 Google 的社交登录

如何运行

🌐 How to run

  1. 克隆代码沙箱(或仓库)并在你的代码编辑器中打开它

  2. 将 .env.example 改名为 .env 并提供必要的变量

  3. 运行以下命令

    pnpm install
    pnpm dev
  4. 打开浏览器并访问 http://localhost:3000

On this page