Chartjs-Uncaught TypeError: Cannot set properties of undefined (setting 'render')

1πŸ‘

βœ…

It looks like you are not exporting Vue component definition properly.
Try to add export default {

1πŸ‘

You should register the component using export default, as usual why using single file components. This would look like this:

<script>
export default {
  name: 'chart'
}
</script>

Leave a comment