When I tried to reproduce my issue again the await useNuxtApp() is no longer working. 👍 2 Sorry, something went wrong. oysandvik94 changed the title useNuxtApp() only working in async Route Middleware [Nuxt3
nuxt / nuxt Public Sponsor Notifications Fork 5.2k Star 56.3k Code Issues 849 Pull requests 63 Discussions Actions Projects 1 Security 5 Insights ecosystem-ci trigger fix: useFetch in middleware that returns undefined gives useAsyncData warning #25928 Sign in to view logs Summary Jo...
Package Manager: npm@10.2.3 Builder: - User Config: default Runtime Modules: @pinia/nuxt@0.9.0 Build Modules: - Reproduction https://stackblitz.com/edit/nuxt-starter-zvdjtwqu Run project in dev mode Describe the bug After upgrading to 3.15, we started getting errors when running the project...
Nuxt currently supports defining global route middleware (with .global. suffix) and named route middleware that can be opted-into per-route using definePageMeta. But in some cases there are more complex patterns, where users may want to ...
When auseFetchis used in a Nuxt middleware and it returnsundefined- the wrongwarnis given: WARN [nuxt] useAsyncData must return a value (it should not be undefined) or the request may be duplicated on the client side. Additional context ...
Sign in Sign up nuxt / nuxt Public Sponsor Notifications Fork 5.2k Star 56.4k Code Issues 853 Pull requests 59 Discussions Actions Projects 1 Security 5 Insights chore fix: useFetch in middleware that returns undefined gives useAsyncData warning #1...
Nuxt Version:3.0.0-27338323.1e98259 Package Manager:yarn@1.22.17 Bundler:Vite User Config:- Runtime Modules:- Build Modules:- Reproduction https://codesandbox.io/s/nuxt3-express-2tbyp Describe the bug I'm trying to use Express as middleware. I setup a very basic express app in/api/middlew...
nuxt / nuxt Public Notifications Fork 5.1k Star 56.2k Code Issues 864 Pull requests 65 Discussions Actions Projects 1 Security 5 Insights changelog docs: mention requirement to wrap middleware in `defineNuxtRouteMiddl… #2050 Sign in to view logs ...
peer-serverprovides an express's middleware It needs to use a WebSocket to connect to the client, but I can't send a WebSocket message to the client as expected in Nuxt Server, and I've turned on the WebSocket feature in nitro.
Environment "nuxt": "3.4.2", "@sidebase/nuxt-auth": "0.6.0-beta.2", Reproduction No response Describe the bug [Vue Router warn]: Detected a possibly infinite redirection in a navigation guard when going from "/account/settings" to "/auth...