Check out example codes for "The template root requires exactly one element.eslint-plugin-vue". It will help you in understanding the concepts better.

Code Example 1

Change the code in App.vue from as follows:-
<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

Learn ReactJs, React Native from