by armaxt · 8y ago · 0 comments
But you can indeed create small inline components in .vue files.
There are different approaches: https://codewithhugo.com/writing-multiple-vue-components-in-...
...
components: {
"inline": {
template: `
<h1>My inline subcomponent</h1>
`
}
}
...No problem: https://www.youtube.com/watch?v=l3GHggI3_z8
As you can see, the're quite a few nested components in a single .vue file.