Created
April 16, 2020 10:16
-
-
Save bachhm-dev/8518c0c2568a0f11cf62549e2c223682 to your computer and use it in GitHub Desktop.
vue-arcgis-map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from "vue"; | |
import App from "./App.vue"; | |
import router from "./router"; | |
import store from "./store"; | |
//Arcgis javascript api | |
import { loadScript } from 'esri-loader'; | |
Vue.config.productionTip = false; | |
// preload the ArcGIS API | |
const options = { | |
url: 'https://js.arcgis.com/3.23/', | |
}; | |
loadScript(options) | |
new Vue({ | |
router, | |
store, | |
render: h => h(App) | |
}).$mount("#app"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment