Using the ArcGIS CLI
@arcgis/cli using npm.
npm install -g @arcgis/cli
This will install a global
Create a default template application using
arcgis create my-application
-t) option .
Choose a UI framework
-t flag to create a template application with the specified UI framework
-t react to create a template application using React.
arcgis create my-react-application -t react
-t vue to create a template application using Vue as the UI framework.
arcgis create my-vue-application -t vue
You can run the application in development mode with a local development server. The CLI will will watch your files and rebuild the UI when you make changes.
The application comes with unit tests that you can use as a guide for writing your own unit tests.
You can also create a production build of your application into a
npm run build