diff --git a/docs/guide/configurations.md b/docs/guide/configurations.md index b3a9c5d08..a72f79149 100644 --- a/docs/guide/configurations.md +++ b/docs/guide/configurations.md @@ -2,7 +2,14 @@ ## Plugin Options -All features are enabled by default, you can disable them by setting the option to `false`. +All features are enabled by default except the following. + +- `defineOptions` (Vue >= 3.3) +- `defineSlots` (Vue >= 3.3) +- `hoistStatic` (Vue >= 3.3) +- `shortEmits` (Vue >= 3.3) + +You can disable them by setting the option to `false`. ```ts VueMacros({ diff --git a/docs/zh-CN/guide/configurations.md b/docs/zh-CN/guide/configurations.md index af5de9746..5c52cbb80 100644 --- a/docs/zh-CN/guide/configurations.md +++ b/docs/zh-CN/guide/configurations.md @@ -2,7 +2,14 @@ ## 插件选项 -在 Vue Macros 中所有功能都将会被默认开启,你可以将选项设置为 `false` 来禁用它们。 +默认情况下启用所有功能,但以下功能除外。 + +- `defineOptions` (Vue >= 3.3) +- `defineSlots` (Vue >= 3.3) +- `hoistStatic` (Vue >= 3.3) +- `shortEmits` (Vue >= 3.3) + +您可以通过将选项设置为 `false` 来禁用它们。 ```ts VueMacros({