Closed laterdays closed 1 year ago
[vite] Internal server error: [@vue/compiler-sfc] type argument passed to defineProps() must be a literal type, or a reference to an interface or liter al type.
import type { ButtonProps } from 'naive-ui'; defineProps<ButtonProps>();
Can you provide a reproduction link or repo?
https://antfu.me/posts/why-reproductions-are-required
[vite] Internal server error: [@vue/compiler-sfc] type argument passed to defineProps() must be a literal type, or a reference to an interface or liter al type.