ArcGIS API 4 for JS with vue-cli and Nuxt
I’m a framework fan. You know it, I know it, I’ve come to accept this.
It all started with Flex, and PureMVC, Swiz, Robotlegs and more. So many different ways to create awesome apps.
Recently, I’ve been having a lot of fun with Vue. You can find some great videos at egghead.io on getting started with it. Vue has also released a vue-cli to help scaffold apps and I’m really digging it.
In this video, I wanted to demonstrate how you can add the ArcGIS API 4 for JS to a vue-cli app. I was able to utilize an awesome little utility called esri-loader to make it easier to integrate!
You can find the source code here.
I hope you enjoy the video!
I’ll be talking more about using frameworks with the JavaScript API at the Esri DevSummit in Palm Springs in a couple of weeks, so I highly encourage you to attend. Not just for one session, there’s plenty of good stuff to learn there.