Skip to content

Commit 7ff8c24

Browse files
author
pleek91
authored
Add info about v-bind in CSS under CSSProperties
When using SFC its often not necessary to do type augmentation if v-bind in CSS is used.
1 parent 1bbc950 commit 7ff8c24

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/api/utility-types.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,10 @@ Used to augment allowed values in style property bindings.
127127

128128
:::tip
129129
Augmentations must be placed in a module `.ts` or `.d.ts` file. See [Type Augmentation Placement](/guide/typescript/options-api.html#augmenting-global-properties) for more details.
130-
:::
130+
:::
131+
132+
:::info See also
133+
SFC `<style>` tags support linking CSS values to dynamic component state using the `v-bind CSS` function. This allows for custom properties without type augmentation.
134+
135+
- [v-bind() in CSS](/api/sfc-css-features.html#v-bind-in-css)
136+
:::

0 commit comments

Comments
 (0)