3👍
✅
You’re not passing misc
to the child component, you have:
<employee-table :employees="employees" />
But you need:
<employee-table :employees="employees" :misc="misc" />
2👍
It is not that you are accessing the prop incorrectly, you are actually not passing the misc
to the child component at all. You are only passing employees
as a prop if you read carefully:
<employee-table :employees="employees" />
Correct code would look like this (in parent):
<employee-table :employees="employees" :misc="misc" />
Source:stackexchange.com