Creating Rent-a-Car App with Vue and October  / Episode  8  /  

Filtering By Location

In this episode we are going to leverage the data we created in the last episode, to filter our vehicles by location using Vue.

For this we are first going to have to modify our select component so that it would emit selected value to the parent component. And then we will create an action in our Vuex store, that action will filter our vehicles by location. And then we will also change our Vehicle List component a bit so that we can see filtered results on the frontend.

Wanna ask a question about video?

Like This Video?

Support it by sharing it ;)

© Watch And Learn,2024