-
-
Notifications
You must be signed in to change notification settings - Fork 37
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: useIonRouter() is missing isReady() from vue-router? #465
Labels
enhancement
New feature or request
Comments
@chrisspiegl The Ionic team mentioned the use of vue-router's |
I think you should use both composables - when required. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
馃啋 Your use case
Waiting for the page / router to be ready when loading a page.
馃啎 The solution you'd like
vue-router
viauseRouter()
in Nuxt supportsawait useRouter().isReady()
which is super useful to wait for a page to finish loading.I expected
useIonRouter()
to also have this but appears it does not.Maybe this can be implemented, or is there an alternative I should use?
Thank you 馃尭,
Chris
馃攳 Alternatives you've considered
Using
useRouter().isReady()
inside my Nuxt/Ionic app appears to be working as expected. But I thought it would be cleaner to have onlyuseIonRouter
in the project instead of mixing it.The text was updated successfully, but these errors were encountered: