This project contains a template requiring minimal setup to get React working in Vite with HMR and some ESLint rules.
- Clone this project with
git clone https://github.com/alex-clements/advanced-react.git
. - In the root directory of this project, run the command
npm install
. - Run the project with
npm run dev
from the project root directory.
Create this template from scratch with:
npm create vite@latest my-vue-app -- --template react-ts
Check out the vite docs here!