We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如果 Volar 版本号高于 2.0.12,uni-app 自带的标签类型定义会报错 我是在使用uni-vitesse这个模板创建项目时发现问题的
button标签报错的截图:
目前发现绝大部分自带标签都会报错,目前找到的共性是,它们都是定义在declare module 'vue3/jsx-runtime'下
declare module 'vue3/jsx-runtime'
https://github.com/uni-helper/vitesse-uni-app 和 https://github.com/Ares-Chang/uni-vitesse 这两个模板项目中都能稳定复现
基础环境信息:
Windows 11 10.0.22631
20.13.1
1.89.1
2.0.19
基础依赖信息:
3.4.21
4.0.3
3.0.0-3090920231225001
uni-helper依赖信息:
0.0.6
8.57.0
0.5.12
0.2.7
0.58.5
0.1.7
0.2.15
uni-helper插件信息:
2.1.0
0.9.3
0.10.2
0.3.0
0.5.9
0.3.10
0.6.6
pnpm
The text was updated successfully, but these errors were encountered:
看着和之前的 #43 这个情况有点相似
Sorry, something went wrong.
参考 #63 解决了。
步骤:
uni-app-types
tsconfig.json
vueCompilerOptions
plugins
"vueCompilerOptions": { "plugins": ["@uni-helper/uni-app-types/volar-plugin"] }
No branches or pull requests
描述问题
如果 Volar 版本号高于 2.0.12,uni-app 自带的标签类型定义会报错
我是在使用uni-vitesse这个模板创建项目时发现问题的
button标签报错的截图:
目前发现绝大部分自带标签都会报错,目前找到的共性是,它们都是定义在
declare module 'vue3/jsx-runtime'
下复现
https://github.com/uni-helper/vitesse-uni-app 和 https://github.com/Ares-Chang/uni-vitesse 这两个模板项目中都能稳定复现
系统信息
基础环境信息:
Windows 11 10.0.22631
20.13.1
1.89.1
2.0.19
基础依赖信息:
3.4.21
4.0.3
3.0.0-3090920231225001
uni-helper依赖信息:
0.0.6
8.57.0
0.5.12
0.2.7
0.58.5
0.1.7
0.2.15
uni-helper插件信息:
2.1.0
0.9.3
0.10.2
0.3.0
0.5.9
0.3.10
0.6.6
使用的包管理器
pnpm
核对
The text was updated successfully, but these errors were encountered: