Skip to content

Commit 4527cd1

Browse files
committed
more edits
1 parent 4502949 commit 4527cd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_posts/common-gotchas.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ Further reading: [Component Option Caveats](/guide/components.html#Component_Opt
3333

3434
All Vue.js templates are valid, parsable HTML markup, and Vue.js relies on spec-compliant parsers to process its templates. However, as specified in the standard, HTML is case-insensitive when matching tag and attribute names. This means camelCase attributes like `:myProp="123"` will be matched as `:myprop="123"`. As a rule of thumb, you should use camelCase in JavaScript and kebab-case in templates. For example a prop defined in JavaScript as `myProp` should be bound in templates as `:my-prop`.
3535

36-
Further reading [camelCase vs. kebab-case](http://vuejs.org/guide/components.html#camelCase_vs-_kebab-case).
36+
Further reading: [camelCase vs. kebab-case](http://vuejs.org/guide/components.html#camelCase_vs-_kebab-case).
3737

38-
We are also discussing the possibility of eliminating this inconsistency by resolving props and components in a case-insensitive manner as well. Join the conversation [here](https://github.com/vuejs/vue/issues/2308).
38+
We are also discussing the possibility of eliminating this inconsistency by resolving props and components in a case-insensitive manner. Join the conversation [here](https://github.com/vuejs/vue/issues/2308).

0 commit comments

Comments
 (0)