You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can toggle specific features, by default all features are enabled, e.g.:
28
+
You can toggle specific features, by default all features (except `compositionAPI`) are enabled, e.g.:
29
29
30
-
```json
31
-
{
32
-
"presets": [
30
+
```js
31
+
module.exports={
32
+
presets: [
33
33
[
34
-
"@vue/babel-preset-jsx",
34
+
'@vue/babel-preset-jsx',
35
35
{
36
-
"vModel": false
37
-
}
38
-
]
39
-
]
36
+
vModel:false,
37
+
compositionAPI:true,
38
+
},
39
+
],
40
+
],
40
41
}
41
42
```
42
43
43
44
Options are:
44
45
46
+
-`compositionAPI` - Enables [@vue/babel-sugar-composition-api-inject-h](../babel-sugar-composition-api-inject-h) and [@vue/babel-sugar-composition-api-render-instance](../babel-sugar-composition-api-inject-h), support returning render function in `setup`.
0 commit comments