Comments (5)
定位到问题了,把 VSCode
的 Volar
插件版本降级到 v2.0.12 就可以,再高就会报错
from uni-vitesse.
更正,不是所有的类型定义都报错,目前发现只有declare module 'vue3/jsx-runtime'
下的会
from uni-vitesse.
已解决
- 升级
uni-app-types
到 0.5.13 - 在
tsconfig.json
的vueCompilerOptions
中新增plugins
配置项,如下
"vueCompilerOptions": {
"plugins": ["@uni-helper/uni-app-types/volar-plugin"]
}
from uni-vitesse.
Volar 2.1.6的时候又出现了
from uni-vitesse.
Volar 2.1.6的时候又出现了
安装最新版本 @uni-helper/uni-types 同步移除原 @uni-helper/uni-app-types (它默认不支持 uni-ui 了)
本仓库新版本已更新。
from uni-vitesse.
Related Issues (20)
- Mac M1 芯片编译 App 报错 HOT 8
- h5端热更新时,全页刷新问题 HOT 1
- 开发模式下初次加载 `unocss` 样式未被添加 HOT 2
- 现在这种情况如何使用第三方的UI框架和内置的组件 HOT 3
- 如果我想使用uni内置组件, zheng常使用的话就提示无用的标签 HOT 3
- 在框架中使用canvas uni官方提供的demo不生效 HOT 2
- vscode-eslint2.4.2 无法启用 HOT 6
- 模版代码一丝不动直接运行小程序报错 HOT 10
- 微信小程序编译 HOT 4
- 编译为微信小程序插件报错 HOT 3
- 项目中的vue版本为3.4, 在实际使用中使用defineModel,报错 HOT 1
- Missing dep unplugin-vue-macros? HOT 2
- H5环境下面报错 HOT 1
- 我不明白为什么要限制pnpm的版本? HOT 2
- button、view等标签红色提示 HOT 2
- unocss 在微信小程序中把icon图片全变成灰色 HOT 7
- src中缺少pages.json文件
- 使用miniprogram-ci上传微信小程序打包之后的代码报错 HOT 3
- pnpm run test. 运行单元测试会报错 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uni-vitesse.