Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use a hump or a dash for the full name of a vue component

Shulou Source: shulou.com Published: 2022-06-01 04:35:30 09月28日 Update

This article is about how the full name of the vue component uses a hump or a dash. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

The full name of the component uses a hump or a dash.

The general naming convention for components is to use humps or dashes. No matter where we use, the most important thing is to be consistent at all times. I think hump works best because most IDE autocomplete features support it.

# Bad practices mycomponent.vuemyComponent.vueMycomponent.vue# good practices MyComponent.vue Thank you for your reading! On "vue component full name how to use hump or short horizontal line" this article is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, you can share it out for more people to see it!

Tags: Hump horizontal line component full name practice content more article good practical important consistent bad function support it effect article way best read it Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia MySQL macOS Huawei Shulou Tech Info