Skip to content
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

Volar 1.x does not work with functional component. But Volar0.40.x worked. #2206

Closed
jerrywu001 opened this issue Dec 14, 2022 · 0 comments
Closed
Labels
bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first

Comments

@jerrywu001
Copy link

There is a demo
https://github.com/jerrywu001/volar-issue

  • clone it
  • npm i
  • open src/App.vue

Ts do not work with Volar 1.x in a single Vue file. But work with volar@0.40.x. (Any version of volar work with the TSX file.)

Volar0.40.x (pretty good)

basic functional component

image

test sandpack compoennt
image

Volar1.x.x (no effect!!!)
image

@jerrywu001 jerrywu001 changed the title Volar 1.x does not work with functional component Volar 1.x does not work with functional component. But Volar0.40.x worked. Dec 14, 2022
@johnsoncodehk johnsoncodehk added the bug Something isn't working label Dec 18, 2022
@johnsoncodehk johnsoncodehk added the good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first label Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first
Projects
None yet
Development

No branches or pull requests

2 participants