-
-
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
Incorrect Warning on Nuxt 3.10 #524
Comments
I tried it too, but I guess the problem is that maybe the Ionic Vue router wasn't made to work without page integration. |
@evanlegamer I also noticed in the Vue Devtools that Nuxt wraps the base element with NuxtRoot to properly inject helper props which would help in a normal Nuxt 3 application. But when you use the NuxtLayout or NuxtPage in an Ionic app, then problem could start along the way. When you use NuxtLayout with IonRouterView, the browser console should show a warning that a provide() couldn't be found for an inject() in the IonRouterView component. Also, the other way around, if you don't provide the IonApp, then various Ionic default animation and features won't work well |
I got the same issue. See: nuxt/nuxt#24912 (comment) |
This is resolved in #560 and will be in the next release. |
馃摎 What are you trying to do?
I'm just trying to use Ionic router. It's working correctly but I got an error.
馃攳 What have you tried?
I tried to disable pages by putting in nuxt.config.js :
pages: false
everything stop to work correctly, so the advice they give in the warning is incorrect also.
鈩癸笍 Additional context
No response
The text was updated successfully, but these errors were encountered: