- Run this command:
$ npm install eslint vite-plugin-eslint eslint-config-react-app --save-dev
2.Createeslintrc.json
file:
{
"extends": "react-app"
}
-
Add
import eslint from "vite-plugin-eslint";
andplugins: [react(), eslint()],
tovite.config.js
-
Retrieve a single object: http://localhost:9000/cities/73930385
- installation:
$ npm install react react-dom leaflet
then$ npm install react-leaflet
- installation:
$ npm i react-datepicker