New: your coding agent can read the release notes before it upgrades. Set up the MCP server →
Babel syntactic sugar for h automatic injection for Vue JSX
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.9 years
Most releases are documented
notes for 6 of 7 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
10 releases · first in 2018
If you need to use vue-demi to support both Vue <= 2.6 and Vue 2.7, you can now set the compositionAPI option to 'vue-demi' .
@vue/babel-preset-jsx
vue-demi to support both Vue <= 2.6 and Vue 2.7, you can now set the compositionAPI option to 'vue-demi'.compositionAPI option now also accepts an object { importSource: 'package-name' } to allow further customization.functional-vue & inject-h should traverse before JSX plugin ( #166 ) ( 8969609 ), closes #165
One column per quarter.
Added @vue/composition-api support, thanks to @luwanquan and @antfu .
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,
},
},
],
],
};@vue/babel-plugin-transform-vue-jsx , @vue/babel-preset-jsx , @vue/babel-sugar-functional-vue , @vue/babel-sugar-inject-h , @vue/babel-sugar-v-model ,
@vue/babel-plugin-transform-vue-jsx, @vue/babel-preset-jsx, @vue/babel-sugar-functional-vue, @vue/babel-sugar-inject-h, @vue/babel-sugar-v-model, @vue/babel-sugar-v-on:
@babel/core to peerDependencies, as it's required by @babel/plugin-syntax-jsxSupport props with underscore, close #55
filter out jsx comments in getChildren (7f0c84c), closes #46
Add events at the begining of argument list
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →