openzim / kolibri

Convert a Kolibri channel in ZIM file(s)
GNU General Public License v3.0
8 stars 13 forks source link

Issue with type checking in Vue when using JSX. #122

Closed Sudarshan-21 closed 3 months ago

Sudarshan-21 commented 3 months ago

Screenshot from 2024-04-02 20-36-01

I am not sure if we need this issue here or not, but I would like to know if we need the mentioned @vue/runtime-dom in the project.

benoit74 commented 3 months ago

I don't get it. We are using Vue 3 and your screenshot complains about Vue 2. Could you please dig a bit and explain why we need @vue/runtime-dom in the project?

Sudarshan-21 commented 3 months ago

I realized that the error with Vue 2 was arising due to the version conflicts of the Vue on my local machine and the one used in the project.

But I found something else too. ts was not able to recognize image files as modules. So it was showing error while importing images. Creating an issue on this here #124 .