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发出了警告 #57

Closed
2113ic opened this issue Dec 3, 2022 · 7 comments
Closed

按需引入组件的时候,vue发出了警告 #57

2113ic opened this issue Dec 3, 2022 · 7 comments

Comments

@2113ic
Copy link

2113ic commented Dec 3, 2022

我使用的组件是:LewInputPro
当我安装指南推荐的按需引入组件的时候,vue发出了警告。
当我使用全局注册所有组件时就会正常运行。

我的依赖:

  • "lew-ui": "^1.1.24"
  • "vue": "^3.2.45"

image

@devpage
Copy link

devpage commented Aug 30, 2023

解决了嘛?

@2113ic
Copy link
Author

2113ic commented Sep 1, 2023

解决了嘛?

似乎并没有,例如:dropdown 组件中依赖 popover 组件,但并没有显式引入该组件。这种情况只有用户全局注册所有组件才不会报错。

@lewkamtao
Copy link
Owner

天哪!!我才发现,我今晚修复这个问题!!

1 similar comment
@lewkamtao
Copy link
Owner

天哪!!我才发现,我今晚修复这个问题!!

@lewkamtao
Copy link
Owner

我使用的组件是:LewInputPro 当我安装指南推荐的按需引入组件的时候,vue发出了警告。 当我使用全局注册所有组件时就会正常运行。

我的依赖:

  • "lew-ui": "^1.1.24"
  • "vue": "^3.2.45"

image

这个InputPro被我废弃了,相关功能集成到了Input

@lewkamtao
Copy link
Owner

已修复!

@lewkamtao
Copy link
Owner

v1.5.11 的版本更新了这个问题。

@2113ic 2113ic closed this as completed Sep 2, 2023
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

3 participants