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
vue3.4官方推荐用"jsxImportSource": "vue"来引入tsx类型定义,手动写在shims.d.ts中的定义不起作用:
declare namespace JSX { export interface IntrinsicAttributes { vIf?: unknown vElseIf?: unknown vElse?: unknown vShow?: unknown vHtml?: unknown vText?: unknown vModel?: unknown vSlots?: { default?: Slot [key: string]: Slot } } }
怎么修改呢
The text was updated successfully, but these errors were encountered:
你可以试试 加一个type
// tsconfig.json { "compilerOptions": { "types": ["vue/jsx"] } }
Sorry, something went wrong.
对了如果你想用 v-model v-if v-for v-slot 等指令 并且有类型提示 可以试试 https://vue-macros.dev/features/jsx-directive.html
No branches or pull requests
vue3.4官方推荐用"jsxImportSource": "vue"来引入tsx类型定义,手动写在shims.d.ts中的定义不起作用:
怎么修改呢
The text was updated successfully, but these errors were encountered: