After instaling Node Packages i ReactJS Vite its not run and showing white page due to an error of supabaseUrl:
Uncaught Error: supabaseUrl is required.
Hi
Create a .env file in your Vite project root (e.g., javascript/vite/ or typescript/vite/) with your Supabase credentials:
Create a .env file in your project root:
If using JavaScript: metronic-react-starter-kit/javascript/vite/.env
If using TypeScript: metronic-react-starter-kit/typescript/vite/.env
Add these environment variables:
VITE_SUPABASE_URL=
VITE_SUPABASE_ANON_KEY=your-anon-key
VITE_SUPABASE_SERVICE_ROLE_KEY=your-service-role-key-for-admin-functions
Get Supabase account for free at
Please check the provided README.md
If you want to remove usage supabase usage, please check this link
https://docs.keenthemes.com/metronic-nextjs/guides/custom-auth
Thanks