-
Notifications
You must be signed in to change notification settings - Fork 26
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
Incorrect transform of Vue components written in TSX
#293
Comments
Hi, is there any progress on this issue? |
@alSergey can you kindly provide a minimal reproduction. you don't have to use your internal ui components for that. |
We cannot recreate the issue with the provided information. Please add a reproduction in order for us to be able to investigate. Why was this issue marked with the
|
Transform
|
@danielroe @manniL hi, sorry to poke you again, the question is important to me. Is there any progress on this issue? I really want to use @nuxt/module-builder, but I can't because of this bug. |
This will need to be resolved upstream in https://github.com/unjs/mkdist. |
Describe the bug
When transform
tsx
components, they are converted tojs
files using thejsx
function fromvue/jsx-runtime
. This results in warnings from Vue, as shown in the screenshot below. Code is how it looks in the browser.However, if the
tsx
components are left as is, they are converted tojs
files using thecreateVNode
function fromvue
. In this case, no errors occur. Code is how it looks in the browser.Reproduction
I can't provide reproduction because I'm using an internal UI Kit
The text was updated successfully, but these errors were encountered: