Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 389 Bytes

single-instance-components.md

File metadata and controls

15 lines (12 loc) · 389 Bytes

VueJS Naming Convention > Single Instance Components Naming

Single Instance components are the ones that are used only once per view. For example the logo, the navbar, the side menu.

PascalCase (starting with The)

  • Start with The
  • Should be used only once per view
  • For example TheNavbar, TheFooter, TheSideMenu, TheLogo
export default {
  name: 'TheFooter'
}