Belphemur/vue-json-csv

Cannot read properties of undefined (reading 'call')

craigvindico opened this issue · 3 comments

Firstly thanks for creating this library, but ive just tried to implement it and im getting the following console error:

vue-json-csv.common.js?2347:5361 Uncaught TypeError: Cannot read properties of undefined (reading 'call')

The vue application builds fine.

Hi. I get the same as this too -- did you work it out?

Ah, it's because v2.0.0 switched to Vue 3 and this app is still using Vue 2. I updated my app to use "vue-json-csv": "^1.2.12", and it started working...

Ah, it's because v2.0.0 switched to Vue 3 and this app is still using Vue 2. I updated my app to use "vue-json-csv": "^1.2.12", and it started working...

Nice catch. This solved the issue for me. This should be added to the readme (unless I just missed it?).