Skip to content

Fragments not supported #2

@danvega

Description

@danvega

I realize this is a preview but I just wanted to make you aware that fragments aren't working. If I try and add the following template

<template>
  <h1>Hello, World!</h1>
  <button @click="increment()">
    Count: {{ state.count }} Double: {{state.double }}
  </button>
</template>

I received the error error: The template root requires exactly one element (vue/valid-template-root) at src/components/HelloWorld.vue:3:3:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions