Writing multiple components in one file is a pattern from React where some files contain multiple components. Some of those components are “private” to the file/exported component since no other component needs to consume them….
Source: https://codewithhugo.com/writing-multiple-vue-components-in-a-single-file/