withastro / language-tools

Language tools for Astro
MIT License
270 stars 54 forks source link

🐛 BUG: All vue files report errors after enabling the astro extension. #932

Closed ikxin closed 3 months ago

ikxin commented 3 months ago

Describe the Bug

After enabling the astro extension, many errors were reported in each Vue file, but as long as the astro extension is disabled, the errors disappear. This issue appeared in all Vue and Nuxt projects.

QQ_1723304515157

Steps to Reproduce

  1. npm init astro using template
  2. ...
  3. ...
  4. ...
  5. Error! Describe what went wrong (and what was expected instead)...

Link to Minimal Reproducible Example

https://github.com/withastro/language-tools

Princesseuh commented 3 months ago

Make sure you're using the latest version of the Vue extension, as there's recently been issues where people would get stuck on old versions of their extension.

ikxin commented 3 months ago

@Princesseuh That's true! The vue extension has been kept in version v2.0.10. It turned out to be a problem with the vue extension. I'm very sorry!

Princesseuh commented 3 months ago

No worries, it happens!