We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is related to the fact that the auto-import useRoute() seems to rely on the use of <NuxtPage> auto-imported useRoute() from nuxt requires use of
<NuxtPage>
This gives sometimes old paths and empty params when navigating to a route in the ionix/nuxt app.
From the docs page, under Route Parameters
When accessing route parameters, useRoute() should continue to be used, just like regular Nuxt.
This is not working for me, because of nuxt/nuxt#14595
But using import { useRoute } from 'vue-router'; fixes the issue.
import { useRoute } from 'vue-router';
https://ionic.nuxtjs.org/overview/routing
No response
The text was updated successfully, but these errors were encountered:
I believe this already exists under the Watchouts section. https://ionic.nuxtjs.org/get-started/watch-outs
Watchouts
Sorry, something went wrong.
No branches or pull requests
📚 Is your documentation request related to a problem?
This is related to the fact that the auto-import useRoute() seems to rely on the use of
<NuxtPage>
auto-imported useRoute() from nuxt requires use of
This gives sometimes old paths and empty params when navigating to a route in the ionix/nuxt app.
From the docs page, under Route Parameters
This is not working for me, because of nuxt/nuxt#14595
But using
import { useRoute } from 'vue-router';
fixes the issue.
🔍 Where should you find it?
https://ionic.nuxtjs.org/overview/routing
ℹ️ Additional context
No response
The text was updated successfully, but these errors were encountered: