Nuxt 3 Supabase authentication example
Look at the Nuxt 3 and Supabase docs to learn more.
Supabase
After creating a Supabase project, rename the .env.local
file to .env
and fill in the required environmental variables as provided within the newly created Supabase project.
Setup
Make sure to install the dependencies:
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install
Development Server
Start the development server on http://localhost:3000
npm run dev
Production
Build the application for production:
npm run build
Locally preview production build:
npm run preview