Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

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>
Source by www.angularfix.com #
 
PREVIOUS NEXT
Tagged: #The #template #root #requires
ADD COMMENT
Topic
Name
5+6 =