Skip to content

Comments

fix(cli): Fix vue/valid-template-root error.#60

Closed
axuebin wants to merge 1 commit intovitejs:masterfrom
axuebin:fix/cli
Closed

fix(cli): Fix vue/valid-template-root error.#60
axuebin wants to merge 1 commit intovitejs:masterfrom
axuebin:fix/cli

Conversation

@axuebin
Copy link

@axuebin axuebin commented May 6, 2020

The template root requires exactly one element.

<template>
  <h1></h1>
  <p></p>
</template>

=>

<template>
  <div>
    <h1></h1>
    <p></p>
  </div>
</template>

@bekalshenoy
Copy link
Contributor

bekalshenoy commented May 6, 2020

In Vue 3 Multiple Root Elements Are Supported So This PR Is Not Required

@axuebin
Copy link
Author

axuebin commented May 6, 2020

@bekalshenoy Thanks.

@axuebin axuebin closed this May 6, 2020
@axuebin axuebin deleted the fix/cli branch May 6, 2020 12:13
hi-ogawa pushed a commit to hi-ogawa/vite that referenced this pull request Nov 9, 2024
hi-ogawa pushed a commit to hi-ogawa/vite that referenced this pull request Nov 11, 2024
hi-ogawa pushed a commit to hi-ogawa/vite that referenced this pull request Nov 13, 2024
hi-ogawa pushed a commit to hi-ogawa/vite that referenced this pull request Nov 15, 2024
hi-ogawa pushed a commit to hi-ogawa/vite that referenced this pull request Nov 28, 2024
hi-ogawa pushed a commit to hi-ogawa/vite that referenced this pull request Nov 30, 2024
hi-ogawa pushed a commit to hi-ogawa/vite that referenced this pull request Jan 6, 2025
hi-ogawa pushed a commit to hi-ogawa/vite that referenced this pull request Feb 18, 2025
hi-ogawa pushed a commit to hi-ogawa/vite that referenced this pull request Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants