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
<NuxtLayout /> component has not been used.
Warning when using <ClientOnly>
in app.vue
#25196
Labels
Comments
Start a new pull request in StackBlitz Codeflow. |
Yes, this is a limitation in how we are checking whether the layout is used. |
I get the warning when using middleware call navigateTo(). |
@zeezzh Would you provide a reproduction? 🙏 |
@danielroe See https://stackblitz.com/edit/github-bnh9zl.It happens when navigateTo called on server side. |
9 tasks
We could bail on checking entirely if |
9 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Reproduction
https://stackblitz.com/edit/nuxt-issues-25196
Describe the bug
When using a
<ClientOnly>
component around theApp.vue
(only SSR the app shell), the NuxtLayout warning will appear even though the component is used.Additional context
Related: #24912
Logs
No response
The text was updated successfully, but these errors were encountered: