vuejs/vue-syntax-highlight

Vue Element Syntax Error with Arrow Functions Involving Strings

UnRealSKY opened this issue · 1 comments

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.

image
image

I can't reproduce it with ST4155...4178.

grafik

<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.