Closed yodagg closed 2 years ago
Note that the new plugin does not handle Vue-specific JSX / TSX transform, which is intentional. Vue 2 JSX / TSX transform should be handled in a separate, dedicated plugin.
You should just use a babel based plugin for now
I added some examples to the
playground
and they all work fine.When I try the JSX syntax via
@vitejs/plugin-vue-jsx
, it throws the errorERROR: Unterminated regular expression
.@vitejs/plugin-vue-jsx
seems to be avue3
plugin.