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

建议提供Vue(Volar)的d.ts文件 #319

Open
zty012 opened this issue May 21, 2024 · 1 comment
Open

建议提供Vue(Volar)的d.ts文件 #319

zty012 opened this issue May 21, 2024 · 1 comment

Comments

@zty012
Copy link

zty012 commented May 21, 2024

如题,在vscode+volar中在vue文件里面写mdui v2组件会显示类型为any或unknown,所以可以像react一样提供volar的类型定义文件
#288

@zdhxiong
Copy link
Owner

mdui 并不是 vue 组件库,无法提供 volar 的 d.ts 文件。
你只需按文档进行配置,在 vue 项目中也能获得代码提示:https://www.mdui.org/zh-cn/docs/2/getting-started/ide-support

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

2 participants