Answers for "vue/no-multiple-template-root] the template root requires exactly one element.eslint-plugin-vu"

0

The template root requires exactly one element.eslint-plugin-vue

Change the code in App.vue from as follows:-
<template>
<section> // add this section tag here
    <img alt="Vue logo" src="./assets/logo.png">
    <HelloWorld msg="Welcome to Your Vue.js App" />
</section> // end section here
</template>
Posted by: Guest on October-09-2020

Browse Popular Code Answers by Language