Should vue single instance component naming have the prefix The?
This article will explain in detail whether the naming of vue single instance components should have the prefix The. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
Single instance component naming should be prefixed with The
Like basic components, single-instance components (which are used once per page and do not accept any prop) should have their own naming conventions. These components are specific to our application, usually footer,header or sider.
This component can have only one active instance.
TheHeader.vueTheFooter.vueTheSidebar.vueThePopup.vue on "vue single instance component naming should have a prefix The" this article shares 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, please share it out for more people to see.