Routing and Components
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.