Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

v1.2.1

Compare
Choose a tag to compare
Loading
@haoqunjiang haoqunjiang released this 16 Oct 13:12
· 31 commits to dev since this release

New Features

Added @vue/composition-api support, thanks to @luwanquan and @antfu.

To enable this feature, turn on the compositionAPI flag in @vue/babel-preset-jsx:

// babel.config.js
module.exports = {
  presets: [
    [
      "@vue/babel-preset-jsx",
      {
        compositionAPI: true,
      },
    ],
  ],
};

If you are using the preset provided by Vue CLI, the flag is a subfield of the jsx option:

// babel.config.js
module.exports = {
  presets: [
    [
      "@vue/cli-plugin-babel/preset",
      {
        jsx: {
          compositionAPI: true,
        },
      },
    ],
  ],
};
Morty Proxy This is a proxified and sanitized view of the page, visit original site.