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

Some issues encountered by vue-in-react #167

Open
wjw-gavin opened this issue Feb 14, 2025 · 2 comments
Open

Some issues encountered by vue-in-react #167

wjw-gavin opened this issue Feb 14, 2025 · 2 comments

Comments

@wjw-gavin
Copy link

wjw-gavin commented Feb 14, 2025

Hello author, I really appreciate you providing this plugin. However, I’ve encountered some issues while using it and would like to seek some help from you. The UI library is Vant

  1. Some components such as Button, Cell, etc internally use “vue-router” for providing routing functionality. Since “vue-router” is not available, these functionalities do not work.
  2. “ref” prop is not working, preventing us from using functionalities which depend on it such as manually focusing an input. (I found that when using ConfigProvider or PullRefresh to wrap components that need to use instance methods, I cannot access the instance. However, if they are not wrapped, I can access the instance normally.)
  3. Unable to override styles of components using ConfigProvider’s “themeVars” prop.
  4. Lazyload does not work. (Image Component, depend on: vue-lazyload)

That's all. Thanks!

@devilwjp
Copy link
Collaborator

@wjw-gavin Give me some example

@wjw-gavin
Copy link
Author

@wjw-gavin Give me some example

Sorry for the late reply. Please check this.
https://github.com/wjw-gavin/vue-in-react

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