How to fix JSX props error in Vue template?

Viewed 714

Since I added the FullCalendar library to my Vue project, I have encountered this error whenever I use my custom component in a vue template.

I'm using Vue 3, Vite, VSCode, eslint and prettier.

It seems like this problem is more likely to happen to ReactJS, and I didn't find any solution for Vue.

Please help me.

JSX error vue template

1 Answers

The issue is with jsx.d.ts file from prect package, it seems to be a dependency for @fullcalender. Apparently VSCode uses the types from this file.

Related