odoe / jsapi-vite-hmr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About


Languages

Language:JavaScript 84.2%Language:HTML 8.8%Language:CSS 7.0%