JSX

In default, we use vuejs/jsx to make app support JSX.

But with issue #12, so we change to use our repo to fix this issue. Maybe we'll use Vue official repo back when that issue have been fixed.

yarn add @dvan/babel-preset-vue-jsx --dev

To configure your config file

module.exports = {
  jsx: true || 'react' || 'vue' || 'or other {pragma}'
}

Or you can use CLI option --jsx [syntax] to support JSX.

Then you can write JSX based these syntax.