One Page App With Drupal 8 and Vue.js - Part 02 - Getting The Data From Drupal 8
In this Drupal 8 and Vue.js video we are going to learn how we can connect to the API that we will make with Drupal 8 and then display the data from it.
First we are going to make a new content type in Drupal and add some fields to it. Then we are going to create a view that is going to serve as our API end point.
Once that is all done we are going to go to Vue.js and learn how to connect to that API with a plugin for Vue.js called Vue Resource (https://github.com/vuejs/vue-resource).
When we finally connect to the API the real fun begins. I'm going to show you how you can display all of the movies and connected fields that we created in Vue.js application.
### Code used in this video
### CORS plugin for Chrome