Open
Description
What problem does this feature solve?
SFC CSS support a v-bind
function for passing data from the components to its associated CSS. But the behavior in regards to CSS types is not documented. https://vuejs.org/api/sfc-css-features.html#v-bind-in-css
CSS uses various types apart from just plain numbers and string literals, such as units (px, em, rem, etc), which are not obvious how to correctly use with v-bind
. I believe this should be documented and explained how to handle correctly in the official docs.
What does the proposed API look like?
Updated documentation.