I got this error message:
[vue/no-multiple-template-root] The template root requires exactly one element.eslint-plugin-vue.
How do I fix it please?
I got this error message:
[vue/no-multiple-template-root] The template root requires exactly one element.eslint-plugin-vue.
How do I fix it please?
You probably have something like this
<template>
<div>...</div>
<div>...</div>
</template>
change it into that
<template>
<div>
<div>...</div>
<div>...</div>
</div>
</template>
As explained here: https://eslint.vuejs.org/rules/no-multiple-template-root.html