Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[Vue warn]: Invalid prop: type check failed for prop "chartData" #497
Absence of warning )
Can't understand the reason it's present. But after changing in https://vue-chartjs.org/guide/#example
Update: Oh, due adding chartData it seems i'm overriding mixins validation.
If you're using single file components, you have to remove your own
Vue.js has no merging strategy for templates, only for methods, props and data.
Oh now I understand.
Well. the issue is that the prop is defined as an object in the mixin. And has a default value of an empty object:
You are however passing null to it. Because you define
if you change that to