This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
This template is a basic integration of auth0 in the default template generated by Vite. It use React router to display protected page.
The bare minimum to develop auth0 app faster
- Fork/Clone this repository
- Open terminal in this new directory
- Copy .env.example to .env :
cp .env.example .env
- Create an account at Auth0 - Okta
- Fill the .env file with your application's credentials
- Start your local server :
yarn dev
- You are ready to develop your next app...