0.12.6
Improvements
-
Props can now be specified using camelCase. Vue will automatically convert the camelCase prop names to hyphenated names when looking for prop attributes. This makes the prop names more consistent: camelCase in JavaScript and expressions, hyphenated as attributes.
Example:
props: { camelCase: String }
<my-comp camel-case="hello"></my-comp>
Previous usage of directly specifying hyphenated prop names will still work properly, although with the possibility of being deprecated in future versions.