Nuxt

N

Nuxt

Nuxt Community Chat Server

Join

Error Handling: How to Display Errors on the Current Page Instead of Fullscreen

Hello, I need to control the fullscreen error handling in my Nuxt application. I would like to avoid switching to a fullscreen error page in case of fatal errors. Instead, I prefer to show a message or a popup on the current page. Thank you!

HyperSwitch.io

Hello Nuxters ! Anyone used or heard about Hyperswitch.io ? need Help about a module i am creating

Nuxt pro Portfolio issue - About

Hi all, I've been playing around with the Nuxt Pro Portfolio template locally, and noticed with a fresh pull when I navigate to the About page, the about content is not pulled in from about.yml, but if I refresh the page the content field is loaded/displayed. Has anyone else experienced this, and how can i ensure the content field is field is passed in on first load. Thanks in advance 🙏...

Anyone had any success deploying Nuxt to Firebase App Hosting?

I’m getting this error: An error occurred in your rollout generic::failed_precondition: Revision 'appname-build-2025-07-16-007' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable within the allocated timeout. This can happen when the container port is misconfigured or if the timeout is too short. The health check timeout can be extended. Logs for this revision might contain more information. Logs URL:...

How to automatically import custom shared directories

I created a custom directory in shared, and I want it to be imported automatically. According to the documentation, I added the directory to importes.dirs and nitro.imports.dirs, but it didn't import correctly. I would like to ask if there is a problem with my method, as follows: custom directory: shared/schemas ```...

Nitro undefined preset/undefined emulation error

Hey A side project that I'm working on has stopped working after upgrading Nitro to v2.12. I'm getting this error when I try to start the dev server: ``` ERROR Cannot start nuxt: Nitro entry is missing! Is "undefined" preset correct?
at resolvePathOptions (node_modules/nitropack/dist/core/index.mjs:435:11)...

How to uri encode properly navigateTo param and how to redirect user

I have pages like below: pages/[id]/index.vue pages/[id]/[name].vue ...

Nuxt 3 Content: Filter by Subdirectory Not Working with queryCollection().path()

Hey everyone! 👋 I'm trying to filter content by subdirectory using queryCollection() in Nuxt 3, but it's not working as expected. 📁 My nuxt content folder...

NuxtErrorBoundary and broken link outside

Can anyone give me some good advice? I intentionally made a /pages/x.vue page with an error. I wrapped the error code via NuxtErrorBoundary and added a button for clearError => this all works fine. ...

Nuxt 4 module migration guide

Hello. Is there any module migration guide ? Docs page don't have anything about Nuxt 4 yet.

Nuxt DevTools renders site inside of DevTools

Not entirely sure how this is happening, but my site becomes rendered in the Nuxt DevTools when I open it... ------------------------------ - Operating System: Linux - Node Version: v22.15.0...
No description

Preview mode fails to run

When I want to run the build in preview mode:
npx nuxi preview --dotenv .env
npx nuxi preview --dotenv .env
...

Did something change with how workers are imported/built?

I have a module that relies on a worker, and imports it like: import worker from './worker?worker' Now, when I try to build I get an error: [vite:worker] Cannot add property 0, object is not extensible...

Auto imports and `<component :is="" />`

I'm struggling with a dynamic part of our app, where we load components based on what button a user clicks. Pretty straightforward, but we use constants with types a lot to make things easy, but I can't figure out how to do it with dynamic components. Pseudo-code: ```ts // In constants/calendars.ts...

X-Frame-Options

Did something change in the last couple of releases considering the x-frame-options header? How can I set the x-frame-options for certain routes?

nuxt api shield, rate limit bug

my code, which I expect to only take one fetch event every 10 seconds doesn't work as expected. instead it takes all the fetch events for a while, is it a time interval?. doesn't matter how many, I counted 15, before it blocks all. ```export const config = { apiShield: { rateLimiter: { enabled: true,...

useCookie() BUG. Expired cookie still reads previous values instead of default, cookie in memory?

Seems I've discovered a bug. Expired cookies, where maxAge has passed still reads previously saved cookie value. ```function onDownload(url: string): void { console.log("Downloading video from: " + url); const downloads = useCookie<{...

useFetch's tranform equivalent for $fetch

What useFetch's tranform equivalent for $fetch?

Nuxt keep infinitely sending request when using useFetch

Hello, I am wondering is it a bug or my code just wrong? Nuxt 3.17, node js v24.1.0 Server gets request as expected. Here is composable...