[Vuejs]-Using props to show child component

-1👍

you cannot send props from parent to child component. You can use provide() function to pass value to child component and inject() to receive the value that you want to pass. details https://vuejs.org/guide/components/provide-inject.html#prop-drilling

👤HFZ

Leave a comment