为什么defineProps不能识别vant导入的类型 #12982
Unanswered
zzydannyer
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
import { UploaderProps } from 'vant'; const props = withDefaults(defineProps<UploaderProps>(), {});
报错:[plugin:vite:vue] [@vue/compiler-sfc] Unresolvable type reference or unsupported built-in utility type
"vue": "^3.4.31",
"vant": "^4.9.1",
"vite": "5.3.2",
Beta Was this translation helpful? Give feedback.
All reactions