Skip to content

Commit 0938ddd

Browse files
committed
docs(plugin): add version limitation
1 parent e24a005 commit 0938ddd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/docs/guide/advances/plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Plugin
1+
# Plugin <Badge type="tip" text="^1.9.0" />
22

33
`vue-styled-components` supports custom plugins. It allows you to hook into the CSS generation process, enabling customization and extending functionality. By providing `beforeBuild` and `afterBuild` hooks, you can modify elements before they are compiled into CSS and adjust the compiled CSS afterward. This system is flexible and supports both single and multiple callbacks.
44

packages/docs/zh/guide/advances/plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 插件
1+
# 插件 <Badge type="tip" text="^1.9.0" />
22

33
`vue-styled-components` 支持自定义插件。它允许你在 CSS 生成过程中插入钩子,进行定制和扩展功能。通过提供 `beforeBuild``afterBuild` 钩子,你可以在元素被编译成 CSS 之前进行修改,或者在编译后的 CSS 中进行调整。支持单个或多个回调函数。
44

0 commit comments

Comments
 (0)