/jsapi-vite-hmr

Primary LanguageJavaScript

ArcGIS Maps SDK for JavaScript with React using Vite

This repo demonstrates how to use @arcgis/core ES modules with React.

Get Started

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.

Commands

For a list of all available npm commands see the scripts in package.json.

This project was bootstrapped with Vite.

Learn More

s You can learn more in the Vite guides.

To learn React, check out the React documentation.