News for hackers. Stuff that matters.
Re:Vue 3.0 Updates [slides] by jgrpf on Saturday November 17, 2018 @11:00AM (#18475991)
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>
      `
    }
  }
  ...

There are no comments on this comment yet.