Home > front end >  The Vue <template> tag error, big help!
The Vue <template> tag error, big help!

Time:09-18

Originally well, suddenly project vue as long as a open & lt; template> Is an error, even if still write code to remove an error

The error is:

Argument of type '{the fetch ({store, params} : any) : void; The computed: any; } 'is not assignable to the parameter of type' new (... The args: any [])=& gt; Any '.
The Type '{the fetch ({store, params} : any) : void; The computed: any; } 'provides no match for the signature' new (... The args: any []) : any 'Vetur (2345).

CodePudding user response:

CodePudding user response:

An empty vue. Single file js component is the
 

<script>
Export the default {
Data () {
Return {}
}
}
</script>
  • Related