Skip to content

Commit

Permalink
docs: add disabled features
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed May 16, 2023
1 parent a4c5463 commit bc4bbd9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion docs/guide/configurations.md
Expand Up @@ -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({
Expand Down
9 changes: 8 additions & 1 deletion docs/zh-CN/guide/configurations.md
Expand Up @@ -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({
Expand Down

0 comments on commit bc4bbd9

Please sign in to comment.