This repo demonstrates how to use @arcgis/core ES modules with React.
Step 1 - Run npm install
and then start adding modules.
Step 2 Configure CSS.
index.css
@import "https://js.arcgis.com/4.27/@arcgis/core/assets/esri/themes/light/main.css";
For additional information, see the Build with ES modules Guide topic in the SDK.
For a list of all available npm
commands see the scripts in package.json
.
This project was bootstrapped with Vite.
s You can learn more in the Vite guides.
To learn React, check out the React documentation.