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
run the following in the terminal
cd worldwise
npm install
npm run server
npm run dev
- run
npm install eslint vite-plugin-eslint eslint-config-react-app --save-dev
in terminal - create the
.eslintrc.json
file - reconfigure
vite.config.js
to add"vite-plugin-eslint"
- run
npm install react-router-dom@6
in terminal
- run
npm install json-server
in terminal
- run
npm install react-leaflet leaflet
in terminal