I am having difficulty in getting the component html shown in browser I have a component called fullName which contains
<template>
<div>
<h3>
{{data.firstName}} {{data.lastName}}
</h3>
</div>
</template>
<script>
export default{
name: 'fullName',
props:{
data:Object
}
}
</script>
and i pass firstName and lastName as props but when I inspect in chrome the component shows up like this
<fullName data=[object object]></fullName>
instead of
<div>
<h3>Abhishek Singh</h3>
</div>
where I pass Abhishek and Singh as props
can someone help me to debug this or let me know why it is happening
fullNamecomponent inside the parent component - for more information: Component Registration