Home > Back-end >  How to pass product data from one component to another in Vue?
How to pass product data from one component to another in Vue?

Time:06-18

I have a component with a list of products, when you click on a specific product via , you are redirected to another editing component for this product. How to transfer information about the selected product from one component to another? Thanks

CodePudding user response:

Since I can't comment due to low repo, I am going to suggest you to use state https://vuejs.org/guide/scaling-up/state-management.html

  • Related