Register
Installation
npx supaauth@latest add --component registerThis will do:
- create
components,server action,api routesfiles for you - It will install all dependencies by running these cmds
npx shadcn-ui@latest add input-otp && npx shadcn-ui@latest add form && npx shadcn-ui@latest add input && npm i react-icons resend sonner && npm install react-email @react-email/components -EDon't forget to import this in your layout.
import { Toaster } from "sonner";
<Toaster />;Skip dependencies
If you have all dependencies you can skip it by do this
npx supaauth@latest add --component register --skip dep