JSPM

@arcgis/create

4.34.0-next.61
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2285
  • Score
    100M100P100Q110370F
  • License SEE LICENSE IN LICENSE.md

ArcGIS command line tool to create new web GIS projects and applications

Package Exports

    Readme

    @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.

    1. run via npm init
    • npm init @arcgis
    1. 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