arcgis-starter-app
Installation
SKILL.md
ArcGIS Starter App
Use this skill to create ArcGIS Maps SDK for JavaScript applications with TypeScript and Vite. Choose between a minimal setup for quick prototyping or a production-ready configuration with full tooling.
Prerequisites
- ArcGIS account: An ArcGIS Location Platform, ArcGIS Online, or ArcGIS Enterprise account is required to access content and services.
- Access token: Create an access token through your portal with appropriate privileges (basemaps, geocoding, routing, etc.) and configure allowed referrers for production use.
- Node.js: LTS version (20+) with npm or pnpm.
Note: CSS for Map Components loads automatically when using npm — no manual CSS import for
@arcgis/map-componentsis needed. The@arcgis/coreCSS import is only required when using Core API widgets directly.
Framework Integration
React 19
Map Components are web components (custom elements). In React 19, use them directly and attach event listeners with the on prefix: