Pretty much a barebones minimal template to get you started with authentication and protected routes.
Features
- ๐ Protected Routes
- ๐ Supabase Session Object in Global via
useAuthStore
- ๐ User Authentication
- ๐ Routing and Route Guards
- ๐ Minimal
It's also blazingly fast ๐ฅ No really, try it out for yourself.
Getting Started
- Clone the repository
- Install dependencies:
npm install
- Create
.env
using the.env.example
as a template
VITE_SUPABASE_URL=
VITE_SUPABASE_ANON_KEY=
- Run the app:
npm run dev
Files you need to see so you can understand how it works.
src/stores/auth.ts
src/router/index.ts
All Pages
mmvergara
/
vue-supabase-auth-starter-template
Vue Supabase Auth Starter Template with Protected Routes
Vue Supabase Auth with Protected Routes
Features
- ๐ Protected Routes
- ๐ Supabase Session Object in Global via
useAuthStore
- ๐ User Authentication
- ๐ Routing and Route Guards
- ๐ Minimal
It's also blazingly fast ๐ฅ No really, try it out for yourself.
Getting Started
- Clone the repository
- Install dependencies:
npm install
- Create
.env
using the.env.example
as a template
VITE_SUPABASE_URL=
VITE_SUPABASE_ANON_KEY=
- Run the app:
npm run dev
Files you need to see so you can understand how it works.
src/stores/auth.ts
src/router/index.ts
All Pages
Top comments (0)