Skip to content

A command-line tool extends dva-cli, with JavaScript API for ArcGIS.

Notifications You must be signed in to change notification settings

Aiooioo/dva-arcgis-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dva-arcgis-cli

A command-line tool extends dva-cli, with JavaScript API for ArcGIS, using esri-loader.

Using the latest ArcGIS JavaScript API version 4.6. Also compatible with 3.x. (For example: version 3.23)

Getting Started

Install, create and start.

# Install
$ npm install dva-arcgis-cli -g

# Create app
$ dva-arcgis new myapp

# Start app
$ cd myapp
$ npm start

Commands

We have 2 commands: new, init.

dva-arcgis new [options]

Create app with new directory.

Usage Examples

$ dva-arcgis new myapp
$ dva-arcgis new myapp --full
$ dva-arcgis new myapp --no-install

options

  • --full -- A brand new boilerplate with full features Recommand
  • --no-install -- Disable npm install after files created

dva-arcgis init [options]

Create app in current directory. It's options is the same as dva-arcgis new.

Configuration

dva-arcgis-cli use roadhog for build and server, view roadhog#Configuration (中文版) for details.

License

MIT

About

A command-line tool extends dva-cli, with JavaScript API for ArcGIS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published