Skip to content
New issue

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

[Bug]: 使用依赖版本bug,[@vue/compiler-sfc]不支持语法defineProps<IProps>() #13

Open
smallseapig opened this issue Jul 8, 2024 · 0 comments

Comments

@smallseapig
Copy link

报错信息:

  • [vite] Internal server error: [@vue/compiler-sfc] Failed to resolve import source "./types"

解决方法:

  • SFC中,语法defineProps()报错,[@vue/compiler-sfc]的3.4.22版本已修复。更新版本后直接发包即可
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant