[Vuejs]-How do I structure components correctly in a Vue project?

0👍

Well as you said, the naming should go from the highest level to lower leveled words. In this case, SectionHeader would be the general descriptor and then User to describe that it is a section header only for the User page

So it would look something like this

User
  -- UserSectionAbout.vue
  -- UserSectionContent.vue
  -- UserSectionPosts.vue
  -- SectionHeaderUser.vue

Leave a comment