Skip to content

Latest commit

 

History

History
 
 

jsapi-vue-cli

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

ArcGIS API for JavaScript with Vue CLI

This repo demonstrates how to use @arcgis/core ES modules with Vue.js.

NOTE: This sample uses a non-standard .browserslistrc file for performance and browser support reasons.

Get Started

Step 1 - Run npm install and then start adding modules.

Step 2 Configure CSS. Here's a Vue example:

App.vue

<style>
  @import 'https://js.arcgis.com/4.22/@arcgis/core/assets/esri/themes/light/main.css';
</style>

For additional information, see the Build with ES modules Guide topic in the SDK.

Production builds

See the VueJS Deployment guide.

Commands

For a list of all available npm commands see the scripts in package.json.

Customize configuration

See Configuration Reference.