How to assign a string and a string in the vue template?
<q-table
:title=`Lista de ${this.$route.params.tipo}`
/>
error Parsing error: Line 1: Unterminated template
You do not use this
in templates. Actually, everything in the template gets a this
automatically.
:title=`Lista de ${\$route.params.tipo}`
Or in simple form, without template string:
:title='$route.params.tipo'