-
-
Notifications
You must be signed in to change notification settings - Fork 335
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
components.d.ts it looks does not work #608
Comments
我也遇到了这个问题,使用pnpm运行时无法检测到自动引入的element-plus组件的类型,但是npm和yarn都可以做的。查询后有一种观点觉得比较正确,文章链接:https://juejin.cn/post/7189812753366777915。但是他的解决方式对我当前的版本好像并没有效果,所以还是得用回yarn/npm |
你尝试安装了 |
他的解决方式对我生效了,根据 pnpm 文档,在项目文件夹下建立 public-hoist-pattern[]="@vue/runtime-core" 执行
|
在 #638 中已修复 |
又引出了新的问题,我的项目中的版本从0.25.0升级到0.25.1后,全局类型失效了 |
Describe the bug
components.d.ts it looks does not work
Reproduction
https://github.com/810505339/electron-vite-vue-uncoss
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: