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

is it support tsx syntax of vue3 ? #2606

Open
lockiechen opened this issue Apr 12, 2024 · 3 comments
Open

is it support tsx syntax of vue3 ? #2606

lockiechen opened this issue Apr 12, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@lockiechen
Copy link

I can't see the preview entry when I use tsx syntax, such as Demo.tsx

@lockiechen lockiechen added the enhancement New feature or request label Apr 12, 2024
@fwouts
Copy link
Owner

fwouts commented Apr 16, 2024

It's meant to work. Please share an example repo so I can help, thanks.

@lockiechen
Copy link
Author

share

at following expamle,I can't see the preview entry
image

@fwouts
Copy link
Owner

fwouts commented Apr 23, 2024

Thanks for the example. At the moment only top-level JSX declarations work, for example:

export const MyComponent = () => (<div>text</div>);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants