previewjs icon indicating copy to clipboard operation
previewjs copied to clipboard

is it support tsx syntax of vue3 ?

Open lockiechen opened this issue 1 year ago • 3 comments

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

lockiechen avatar Apr 12 '24 01:04 lockiechen

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

fwouts avatar Apr 16 '24 00:04 fwouts

share

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

lockiechen avatar Apr 16 '24 01:04 lockiechen

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

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

fwouts avatar Apr 23 '24 14:04 fwouts