vue-syntax-highlight
vue-syntax-highlight copied to clipboard
Vue Element Syntax Error with Arrow Functions Involving Strings
trafficstars
Using arrow functions within Vue elements and utilizing strings inside them leads to an error, regardless of whether backticks(`), single quotes('), or double quotes(") are used.
I can't reproduce it with ST4155...4178.
<q-dialog
:refs="() => {refController(modal.fullTool.refs, 'dialog')}"
v-model="modal.fullToll.isOpen"
no-esc-dismiss
no-backdrop-dismiss
>
As Vue just embedds source.js the issue might be caused by an outdated or malformed JavaSctipt syntax.