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 上报] 根据文档配置,报错:useRouter 只可以在 Vue 上下文中使用,请确保你已经正确地注册了 "uni-mini-router" 并且当前正处于 Vue 上下文中 #21

Open
stack79-matt opened this issue Nov 2, 2024 · 0 comments

Comments

@stack79-matt
Copy link

uni-mini-router 版本号

0.1.6

平台

h5

重现链接

https://github.com/Matthew-y/uni-playground.git

重现步骤

根据文档进行的配置

期望的结果是什么?

正常使用router

实际的结果是什么?

控制台报错提示:useRouter 只可以在 Vue 上下文中使用,请确保你已经正确地注册了 "uni-mini-router" 并且当前正处于 Vue 上下文中

环境信息

No response

其他补充信息

No response

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