[Vuejs]-Child component using parent component data to re-direct

0👍

UPDATE

So, I figured it out. It may be the wrong way to do it, or there may be an easier way. But here is what I have done.

I passed the data “slug” as a prop to my child component (featureCard). I then set slug: this.resourceSlug in my data. Then within my title section I simply set {{ resourceTitle }}

And, it seems to be working!!

Obviously, if there is a better way please, someone let me know.

Leave a comment