One Page App With Drupal 8 and Vue.js - Part 09 - Routing and Components

Jan 05, 2016

In this Vue.js tutorial we are going to connect together Vue routing and Vue components to make our single-page app work the way we want.

In the last two episodes we learned about Vue components and Vue routing. And now we are ready to put all that knowledge together and make our single-page application behave the way it's supposed to.

We are basically going to take the two main methods that we created for getting the list of movies and getting the single movie and convert them into components. Then we are going to connect them using Vue routing and routing parameters. As you will see that won't be complicated as it sounds.

### Code used in this tutorial……

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.