Replies: 1 comment
-
{
"compilerOptions": {
"jsx": "preserve",
"jsxImportSource": "vue"
// ...
}
} https://vuejs.org/guide/extras/render-function.html#jsx-type-inference |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
问题描述
使用vite创建vue3项目,配置ts和tsx出错,主要是vscode编辑器不能识别jsx语法,但是可以正常启动
问题复现
问题
第四步是能正常跑起来的,就是在vscode编辑器中,第三步的
<div>入口</div>
中的系统信息
谷歌浏览器,node版本:20.11.1
Beta Was this translation helpful? Give feedback.
All reactions