4 ms·
This is totally possible. You can create a sub component, register and use it in the same file as the parent component. Though not really recommended you can ev
by jgrpf 8y ago
This is totally possible. You can create a sub component, register and use it in the same file as the parent component.
Though not really recommended you can even do this:
...
components: {
"inline": {
template: `
<h1>My inline subcomponent</h1>
`
}
}
...