Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webstorm 上会对模版上的 class 显示异常 #63

Closed
4 tasks done
sunpm opened this issue May 14, 2024 · 2 comments
Closed
4 tasks done

webstorm 上会对模版上的 class 显示异常 #63

sunpm opened this issue May 14, 2024 · 2 comments

Comments

@sunpm
Copy link

sunpm commented May 14, 2024

描述问题

image image

注释后,异常消失了
image
image

复现

https://github.com/sunpm/vitesse-uniapp-vue3
随便去一个 vue 文件 添加 123 都会显示异常😭

系统信息

Node: 18.17.1
pnpm: 9.1.1

WebStorm 2024.1.2

使用的包管理器

pnpm

核对

  • 遵循我们的 行为准则
  • 检查是否已经有一个报告相同错误的问题,以避免重复创建。
  • 这是一个具体的错误。请开启 GitHub 讨论你的疑问。
  • 所提供的复现是这个问题的 最小复现
@ModyQyW
Copy link
Member

ModyQyW commented May 14, 2024

可以参考README添加vueCompilerOptions.plugins试试,uni-app-types需要用0.5.13版本Screenshot_2024-05-14-19-28-19-97_320a9a695de7cdce83ed5281148d6f19.jpg

@sunpm
Copy link
Author

sunpm commented May 15, 2024

可以参考README添加vueCompilerOptions.plugins试试,uni-app-types需要用0.5.13版本Screenshot_2024-05-14-19-28-19-97_320a9a695de7cdce83ed5281148d6f19.jpg

确实,添加后不会报错了。好难啊,处是疑难杂症😭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants