Open
Description
The documentation suggests the <script>
block will use whatever syntax is used for regular .js
files, but I'm getting very different results in Vue SFC <script>
vs plain .js
files. My default syntax is JavaScript Next, and looks like this (correct):
but that code in a Vue SFC looks like this (many things miscoloured):
There are lots of other differences too, and I can get the effect in plain .js
files by switching to the built-in Javascript syntax (which is the reason I moved to JS Next). So, is there a way to be explicit about which syntax to use, or is there just a bug not picking up the configured .js
syntax setting?
Metadata
Metadata
Assignees
Labels
No labels