question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

use files.associations config, Vetur version >= 0.22.5 has error

See original GitHub issue

Info

  • Platform: macOS
  • Vetur version: 0.22.5、0.22.6
  • VS Code version: 1.39.2

Problem

vscode config "files.associations": { "*.fes": "vue" }

when has javascript code( in <script>),will has problem below: image

image

if only <template> and <style> is ok.

Vetur version(0.22.4) will not has this problem. .vue file too.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
octrefcommented, Dec 12, 2019

You can do "vetur.experimental.templateInterpolationService": false. Vetur doesn’t support fes files.

0reactions
yoyo930021commented, Dec 17, 2020

I’m willing to put some time into fixing this bug if you can point me in the right direction.

Screenshot_20201217_141432

Please open a new issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FAQ | Vetur - GitHub Pages
FAQ. # Install an old version of Vetur. Sometimes new releases have bugs that you want to avoid. Here's an easy way to...
Read more >
vuejs/vetur (Raised $789.00) - Issuehunt
use files.associations config, Vetur version >= 0.22.5 has error. Unfunded#1480created bywinixt. $0.00. Question marks not shown next to optional object ...
Read more >
CHANGELOG.md · igiting/vetur - Gitee.com
0.22.5 | 2019-10-21 | VSIX ... #70. Move files.associations setup in README, as vue file is not associated with html by default in...
Read more >
VS Code treats JavaScript files as Typescript - Stack Overflow
It's Vetur who's generating the error, you should disable the TS options in the Vetur options. There is one for the templates and...
Read more >
Vue Setup Guide in VS Code with Vetur and the Airbnb ESLint ...
In this developer productivity video, I go over how to set up Vue in Visual Studio Code with Vetur and the Airbnb ESLint...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found