esri-react-scripts

Configuration and scripts for Create React App.

Usage no npm install needed!

<script type="module">
  import esriReactScripts from 'https://cdn.skypack.dev/esri-react-scripts';
</script>

README

esri-react-scripts

Create React apps + ESRI JS API with no build configuration. This package includes scripts and configuration used by Create React App.
Please refer to its documentation:

Demo

http://esri-react.surge.sh

Quick Overview

npx create-react-app esri-app --scripts-version=esri-react-scripts
cd esri-app
npm start

(npx comes with npm 5.2+ and higher, see instructions for older npm versions)

Then open http://localhost:3000/ to see your app.
When you’re ready to deploy to production, create a minified bundle with npm run build.