Open alSergey opened 5 months ago
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.
needs-reproduction
label?To be able to investigate, we need access to a reproduction to identify what triggered the issue. Please provide a link to either :
To make sure the issue is resolved as quickly as possible, please make sure that the reproduction is as minimal as possible. This means that you should remove unnecessary code, files, and dependencies that do not contribute to the issue.
Ensure the link is pointing to a codebase that is accessible (e.g. not a private repository). "example.com", "n/a", "will add later", etc. are not acceptable links -- we need to see a public codebase. See the above section for accepted links.
Issues with the needs-reproduction
label that receives no meaningful activity (e.g. new comments with a reproduction link) will be closed by the maintainers and won't be looked at.
Anyone experiencing the same issue is welcome to provide a minimal reproduction following the above steps. Furthermore, you can upvote the issue using a reaction on the topmost comment.
We constantly monitor open issues for new comments.
However, sometimes we might miss one or two. We apologize, and kindly ask you to refrain from tagging core maintainers, as that will usually not result in increased priority.
Upvoting issues to show your interest will help us prioritize and address them as quickly as possible.
If you have a minimal reproduction for a closed issue, please write a comment on the issue with a link to the reproduction. We will review it and reopen the issue if it is sufficient.
@manniL StackBlitz
tsx
by nuxt-module-build
npm run start:js
/auth-error
dist/runtime/pages/auth-error
Here you can see that the tsx
function from vue/jsx-runtime
is used.
tsx
by nuxt
npm run start:tsx
/auth-error
dist/runtime/pages/auth-error
Here you can see that the createVnode
function from vue
is used.
Unfortunately, I can't provide a reproduction for warnings from Vue. I catch them when using my internal UI Kit.
@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.
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