Skip to content

v13.1.0

Compare
Choose a tag to compare
@yyx990803 yyx990803 released this 11 Oct 04:23
· 254 commits to main since this release
  • Support for compiling templates for functional components. This feature requires vue and vue-template-compiler >= 2.5.0.

    To denote a template that should be compiled as a functional component, add the functional attribute to the template block. Also, props need to be accessed as props.xxx.

    <template functional>
      <div>{{ props.foo }}</div>
    </template>