vue-syntax-highlight icon indicating copy to clipboard operation
vue-syntax-highlight copied to clipboard

Vue Element Syntax Error with Arrow Functions Involving Strings

Open UnRealSKY opened this issue 1 year ago • 1 comments
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.

image image

UnRealSKY avatar Dec 20 '23 02:12 UnRealSKY

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.

deathaxe avatar Sep 14 '24 10:09 deathaxe