@arcgis/create
A CLI tool for quickly creating an ArcGIS web application using web components.
Usage
The package is created to be compatible with the npm init command. This will allow users to run npm init @arcgis
, and immediately be prompted to initialize a new ArcGIS web application.
- run via npm init
- run via npx
npx @arcgis/create
npx @arcgis/create -- -n my-app -t react
Commands
init
Initialize a new project from a sample from the code samples repository
Usage: init [options] [command]
Options:
-V, --version output the version number
-n, --name <name> Name of the project
-t, --template <template> Template to use (react, angular, vanilla, vite, vue, or webpack)
-p, --packages <packages> Additional packages to add (charts, coding)
-h, --help display help for command
Commands:
init Initialize a new arcgis project
help [command] display help for command