Want do develop your own widget for the ArcGIS JavaScript API 4.x? Avoid creating all the boilerplate by starting with this set of files.
Starts with the demo widget code from the ArcGIS API for JavaScript Sample Code, but also includes:
- Places the widget within the context of a map.
- Includes TSLint
- Follows semi-standard code formatting
- Includes a dev web server to get you going quickly
Currently updated to ArcGIS JavaScript API version: 4.4 (2017-07)
- Clone this repository.
- Rename the project in the
package.json
file - Rename
HelloWorld.tsx
to your widget's name, and update the reference inindex.html
. npm install
npm start