/map-vue

Demo application using VueJS with ArcGIS API for JavaScript

Primary LanguageJavaScript

Map Vue

Usage

This application is written in TypeScript and utilizes the @arcgis/webpack-plugin with Vue.


To develop this application locally, you will need to create a .env file in your project with a client id. To obtain a client id, please reference this documentation.

Your .env file should look like this.

ARCGIS_APP_ID=YoUrClIeNtId

You can develop, test, and build the application using various commands.

Run the application in development mode with a local development server.

npm start

Run the unit tests for the application. Unit tests are written with Intern.

npm test

Build the application for deployment.

npm run build

Run a production build of the application, but serve it up locally to see how the built app will behave.

npm run serve

Use npm run serve to full test that Service Workers are working correctly with webpack-dev-server self signed certifcates. Refer to this article on how to run Chrome with proper flags enabled for development purposes.