vuejs / v2.vuejs.org

đŸ“„ Documentation for Vue 2
https://v2.vuejs.org
MIT License
5.03k stars 3.42k forks source link

Why does vuejs docs not follow own recomendations? #2652

Open dim0xff opened 4 years ago

dim0xff commented 4 years ago

For example https://vuejs.org/v2/guide/components-custom-events.html#Event-Names

For these reasons, we recommend you always use kebab-case for event names.

And here the same page https://vuejs.org/v2/guide/components-custom-events.html#sync-Modifier

That’s why instead, we recommend emitting events in the pattern of update:myPropName

But update:myPropName is not kebab-case.

bencodezen commented 4 years ago

Great point @dim0xff! We'll make sure to fix this once we have a stable 3.0 docs. Appreciate you filing an issue!