79213039

Date: 2024-11-21 22:02:34
Score: 2
Natty:
Report link
 <template>
 <h3>Hi Welcome to the App</h3>
 <HelloWorld name="test"/>
</template>  

I was getting the below error:
**[vue/no-multiple-template-root]
The template root requires exactly one element.eslint-plugin-vue**

Here, you just need to wrap up multiple elements in div

<template>
 <div>
 <h3>Hi Welcome to the App</h3>
 <HelloWorld name="test"/>
 </div>
 </template>  
Reasons:
  • Blacklisted phrase (1.5): getting the below error
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yogesh pawar