Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 7 months ago. Improve this question
Tag: vue-props
Can’t get Vue 3 child component to properly recognize prop data
I have a parent and child component in Vue 3. I’m using the options (old) API. I am passing data, an object with a bunch of different properties and values, as a prop like this: When I do this, I get TypeError: Cannot read properties undefined (reading ‘isCustomizable’). Seems like maybe Vue is trying to read itemInfo.isCustomizable before the prop
Vue Component – Passing a prop into a class is not working?
I have a component for a tile where I want to provide the tile title, link name, and icon name via props into the component. This will make it reusable for me to provide the necessary data for multiple pages and links. I can get the tile title and link name working but I can’t get the icon to show
Vue pass arrow function for input rules to Stancil component
I’m trying to pass arrow function which will work as input rules like in Vuetify https://vuetifyjs.com/en/api/v-input/#rules. So I’m passing rules in array with code: Then I want to check It in Stencil component with console log via watcher but It returns undefined: Answer When you want to pass a rules prop which can be an array or object then you