zdw 8f18b5630a feat: add directive test case
add spread test case
2020-05-14 22:13:44 +08:00
jsx
2020-05-13 19:14:28 +08:00
jsx
2020-05-13 19:14:28 +08:00
2020-05-14 22:13:44 +08:00
jsx
2020-05-13 19:14:28 +08:00
jsx
2020-05-13 19:14:28 +08:00
2020-05-14 13:24:22 +08:00
jsx
2020-05-13 19:14:28 +08:00
jsx
2020-05-13 19:14:28 +08:00
2020-05-08 16:58:50 +08:00
2020-05-14 13:24:22 +08:00
jsx
2020-05-13 19:14:28 +08:00
jsx
2020-05-13 19:14:28 +08:00

Babel Preset JSX for Vue 3.0

To add Vue JSX support.

Syntax

functional component

const App = () => <div></div>

with setup render

const App = defineComponent(() => {
  const count = ref(0);
  return () => (
    <div>
      {count.value}
    </div>
  )
})
Description
JSX for Vue 3
Readme 54 MiB
Languages
TypeScript 97.6%
CSS 1.6%
HTML 0.5%
JavaScript 0.3%