Prompt please, at compilation there is an error:
Component template should contain exactly one root element. If you are using v-if on multiple elements, use v-else-if to chain them instead.
The error occurs in the 17th line in jsfiddle that i provide in below.
<div class="ui_tabs" {{ sort === 'hot' ? 'Hot' : 'New' }}>
Here is a jsfiddle: Jsfiddle
Where is the problem here? Thanks in advance.
Comments
Post a Comment