-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSX issue when using in Vue 3 with Typescript #173
Comments
I don't have any issue building this example, this sounds like an issue with VSCode. |
@MikesGlitch this might be an issue with the Volar extension, if you're using it. See #vuejs/language-tools#552. I remember having to downgrade to |
@treighmawaka Aha! Thanks, makes sense. That's annoying - almost everyone who uses Vue 3 and vscode will be using that extension. Thanks, we should probably close this then. |
@maukoese See vuejs/language-tools#592 (reply in thread) to disable the |
so can you tell me how to fix this issue i try all methods but still not work |
Description
When using the vue3 package FullCalendar component (with typescript), VSCode comes up with the following error.
Property 'template' does not exist on type 'JSX.IntrinsicElements'.ts(2339)
Replication
Open the fullcalendar-example-projects repository - go to the vue3-typescript folder (https://github.com/fullcalendar/fullcalendar-example-projects/tree/master/vue3-typescript)
Open it in VsCode
Observe on line 115 - vue3-typescript/src/Demo.vue
I did a bit of digging and it worked by completely removing the typings file: @fullcalendar\vue3\dist\main.d.ts I think it may be something that file is importing is causing the issue
The text was updated successfully, but these errors were encountered: