Seeking assistance as a Vue beginner, I am struggling with passing props between components and could use some guidance.
events.js
props: ["id", "event"],
defined the props
data: function() {
return {
regular: null,
event:"",
};
},
Passed it
<h1 class="modal__text">{{ event.name}}</h1>
Running into an issue that says "Duplicate key". How can I correct this error?