Nuxt 示例
这是一个关于如何在 Nuxt 中使用 Better Auth 的示例。
【This is an example of how to use Better Auth with Nuxt.】
实现以下功能: 电子邮件和密码。使用 Google 的社交登录
如何运行
【How to run】
-
克隆代码沙箱(或仓库)并在你的代码编辑器中打开它
-
将 .env.example 改名为 .env 并提供必要的变量
-
运行以下命令
pnpm install pnpm dev -
Open the browser and navigate to
http://localhost:3000