This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Supabase is an open source Firebase alternative providing all the backend features you need to build a product.
npm install @supabase/supabase-js@1In the Supabase SQL Editor run User Management Starter to create a new database
After running User Management Starter, run the following new query
create or replace function public.handle_new_user()
returns trigger as $$
begin
insert into public.profiles (id, username)
values (new.id, new.email);
return new;
end;
$$ language plpgsql security definer;
create trigger on_auth_user_created
after insert on auth.users
for each row execute procedure public.handle_new_user();In the Supabase SQL Editor run Todo List to create a new database
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p