This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. this template uses mantine and context api, and provides login and signup pages, and upon successful login you should be able to access protected routes.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
This Repo has Protected and Unprotected Routes Setup with Mantine and Tailwind CSS installed. It uses Context API to check if user is logged in, and then provide access to Protected Routes(Pages)