When I do this, I want to be able to access the values off of that product object but I'm not able to do that at the moment as nothing is being returned when I do something like this in my template.
The product name: {{ product.name }}
Any ideas how I can use that product model within my component?
Pass model to component using properties?
Hello,
I'm trying to pass my Laravel model's data through to a Vue component using properties. Here's what I currently have.
My component currently looks like this.
When I do this, I want to be able to access the values off of that product object but I'm not able to do that at the moment as nothing is being returned when I do something like this in my template.
Any ideas how I can use that product model within my component?