One Page App With Drupal 8 and Vue.js - Part 11 - Delete Movie With Vue.js

14:36
1495
27
0
0
2
Share
Jan 12, 2016

In this tutorial I'm going to show you how to delete an item using Drupal 8 REST API and Vue.js.

In the last episode (http://watch-learn.com/video-tutorials/one-page-app-with-drupal-8-and-v…) we learned how to create data using Drupal REST API and Vue.js as our frontend. I think it is only logical for me to show you how you can delete those items using the same methods.

As you will see the process is very similar to creating something on you REST API, you just have to access a different end point (in our case node of the movie). To do that you would just pass the node id to the end point URL which we already did in this episode (http://watch-learn.com/video-tutorials/one-page-app-with-drupal-8-and-v…).

### Code used in this tutorial

https://github.com/ivandoric/one-page-app-with-drupal-and-vue/releases/…

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 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.