One Page App With Drupal 8 and Vue.js - Part 02 - Getting The Data From Drupal 8

32:01
9648
109
0
0
18
Dec 16, 2015

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
https://github.com/ivandoric/one-page-app-with-drupal-and-vue/releases/…

### CORS plugin for Chrome
https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlf…

http://watch-learn.com/video-tutorials/one-page-app-with-drupal-8-and-v…

Hi! I'm Karim Boudjema, the developer and site-builder of this site. I'm currently working as a freelance Drupal developer.

I was wondering how could I giving back to the Drupal community all what it gave to me during the last 10 years, that's how the idea of this site came to me ... (read more)

Hi! I’m Santiago Rico, the web designer and themer of this site.

When Karim proposed me to design and theme this site for the Drupal community, I accepted immediately because the community is the main reason why I love Drupal so much.