Nuxt

N

Nuxt

Nuxt Community Chat Server

Join

Nuxt UI Table row height

I am new to Nuxt and Nuxt UI so I may well be missing something in the documentation, but how can I adjust the row height of the Table component?

Override layer via c12 environment

Hi everyone, after looking through c12 issues for a bit im still usure whether this is actually possible. For local development I want to use the layer from a relative path. However when other people use it, i wouldn't want them to have to set up all repositories. My config looks like something like this: ...

Nuxt UI fonts not generating fallback fonts

I have my font defined as: ``` @theme { --font-figtree: 'Figtree', "sans-serif"; }...

Trouble running the dev server with worker in dependency

Hello, I create a simple example of my workspace. It's default nuxt application with one dep. that build worker with vite. When I build the app with:...

One of the glob patterns doesn't match any files warning in vite-pwa/nuxt

im uing "@vite-pwa/nuxt": "^1.0.4" and nuxt 4.1.2 having this error in dev server ``` files generated...

Error on published app in docker container

Hey, I get the below error, the site previosuly worked but I have no clue as to why dev tools would be loaded in production mode? I can't really pinpoint a source of the error. TypeError: localStorage.getItem is not a function at getTimelineLayersStateFromStorage (/site/build/server/node_modules/@vue/devtools-kit/dist/index.cjs:2364:30) ... 8 lines matching cause stack trace ......

Unstable pnpm dev/yarn dev/npm dev

Hello there! I just upgraded from Nuxt 3 to Nuxt 4.1.2, now when running the dev command, the application resets randomly (it seems), I can see at the start that there are some dependency optimization, but after a while it just stops working or reloads the page entirely. Looking at the logs, a lot of errors occur, most are:...

Nuxt UI documentation

Hello 👋 Got confused by the Nuxt UI docs (ui.nuxt.com) and wanted to know if it happened to others. Context: integrating UFileUpload for the time....
No description

Environment aware routeRules

I have this routeRules: ```js routeRules: { '/**': {...

Nitro watch file (txt)

Hello I'm trying to watch a server file and restart Nitro only, how is possible? I tried config.watch but restarts the whole Nuxt. (nitro.devSever.watch doesn't work neither)...

How to make Docus only handle routes under /docs in a Nuxt 4 project?

Hi everyone! I’ve been working with Docus and could use a bit of help. I managed to set up a standalone Docus project to serve documentation, and it worked great. Now I’m trying to integrate it into my existing Nuxt 4 website — but I’ve run into a problem: Docus seems to be taking over all the routing....

Refreshing tokens on page navigation

I'm currently fighting with refreshing tokens on route navigation in a auth.global.ts RouteMiddleware. As far as I can tell the issue is that the login and refreshToken methods in my useAuth composable are async, but using async in defineNuxtRouteMiddleware causes the server to spit out errors such as Fetch handler error: Premature close I've solved the login issue by moving it to onMounted in app.vue but would like to make sure that tokens have not expired/are refreshed on page loads (I will also be refreshing the tokens on API calls)...

Multi-step / nested UForm

I'm trying to implement a multi-step form using the form nesting mentioned in the documentation but I'm having a hard time understanding how to get it to work and validate properly at each step. More specifically, I'm confused about the following: - Should the parent form define the whole schema or is each child form responsible of specifying each sub-schema? - How can I customize each step's validation, for example calling an API for checking if an email is available?...

useRoute inside plugin

Is this suggestion correct? ``` Don't call useRoute inside a Nuxt plugin setup—it's only available in component contexts. Instead, read the route name from the router instance on the Nuxt app. This ensures the plugin works both on server and client side....

ERR_MODULE_NOT_FOUND jiti/lib/jiti.mjs

Does anyone know what can cause the following error? ``` [3:19:15 pm] ERROR Error while importing module MODULE_HERE: Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/runner/work/MODULE_HERE/node_modules/jiti/lib/jiti.mjs' imported from /Users/frederikprijck/Development/playground/my-nuxt-app/node_modules/jiti/lib/jiti.mjs ...

nuxt.config.ts - runtimeconfig - .env

In my Nuxt config file, when i want to leave the config empty and override it using my .env file, it works only on localhost, and does not work on my VPS when i build it. NUXT_PUBLIC_API_BASE...
No description

Can't input url manually

after i installed nuxtjs/supabase when i manually enter http://localhost:3000/anime/45816?type=video it will redirect me to http://localhost:3000/?type=video to changed the path here is my auth.js middenware ```js export default defineNuxtRouteMiddleware(async (to, from) => {...

Failed to signin with google using @nuxtjs/supabase

Hey, i'm using Supabase for the authentication with Google, I have this function ```js const loading = ref(false) const error = ref(null) const supabase = useSupabaseClient()...

Transfer-Encoding: chunked in Nuxt/Nitro

Hi! I'm trying to create a webhook endpoint in Nuxt that receives binary data (video files) from security cameras. The cameras send data with Transfer-Encoding: chunked and Content-Type: video/x-matroska. ...