Nuxt

N

Nuxt

Nuxt Community Chat Server

Join

defineExpose not working as expected

Hello all, In my component I have a script setup with defineExpose This is in Nuxt 3...

Nuxt + Supabase: getting JWT tokens in headers when using --host on a mobile device

nuxt 3.17.7 starting app in dev with pnpm dev --host when on a mobile device connected to network <ipaddress>:3000, supabase is not persisting a session when on mobile -- but everything on my main dev laptop works just fine....

Cannot use tailwind with Nuxt UI

My nuxt.config.ts: ```ts // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ compatibilityDate: "2025-07-15",...

Import component fail and can't use them

Hi ! I have some problem for a couple hours now and Google is no help 😮 I learn Nuxt 4 and I try this from the nuxt website : https://nuxt.com/docs/4.x/getting-started/views#components But when I try, Nuxt (or Vue) don't want to find my AppAlert component. And leave me with these kind of errors ``` WARN [Vue warn]: Failed to resolve component: AppAlert...
No description

[error] [nitro] RollupError: Expected ',', got 'undefined' in /opt/buildhome/repo/node_modules/papap

Hello ! currently working with Papaparse and trying to deploy to cloudflare pages : `` [log] [nuxi] Nuxt 4.0.1 with Nitro 2.12.4 22:56:54.801 [warn] [@nuxt/supabase] The cookieRedirect option is deprecated, use saveRedirectToCookie` instead....

Auto import enums usable from a Nuxt Module

Hello, i want to auto import enums from my Nuxt Module but i'm struggling, My generated .d.ts files for the module have this in them for enums: ```js...

i18n

I have a 2 lang problem when i delete one lang other one is working but when i use 2 lang default is working but second lang is not working...
No description

Sanity Module for Nuxt4

Hey all! Just curious if there is a timeline for https://sanity.nuxtjs.org/ to support Nuxt 4? Getting all types of errors trying to use it in a new build. Will revert to vue-sanity for now. Thanks!

Nuxt Image URL encoding issue with app.cdnURL and external ipx.baseURL

I'm facing a specific URL generation issue with @nuxt/image in a setup where my assets and my application live on different domains. My Setup: -Nuxt 3 with Vite. -My application and the IPX server run on https://app.example.com....

NuxtImage Hydration mismatch

Hi everyone 🙂 am facing a Hydration mismatch issue with Nuxt image and I need some help 🙂 the project am working on is a Nuxt 3.17, NuxtImg 1.10 with ipx provider. ...

How to run 3x pinia functions that the rest of the site relies on?

What'd be the go-to method for this? we've got 3x functions, in 3 different pinia stores, that everything else on the site relies on, core settings fetched from apis, things fetched from cms to place into header and such, just wondering what the defacto method would be for this?

Content: Articles not displaying on page load in Nuxt 4

There appears to be an issue on the deployed website, where the content articles do not display on page load until I navigate and return to the page, and then the content becomes visible. My site is deployed on Coolify, hosted on Hetzner. This is the URL: https://okikelabs.com/ This is the code to query for articles: ```...

GitHub actions with Nuxt?

Does anyone have a basic script for GitHub actions that keeps dependencies up to date? Ideally a script that automatically updates bug fixes but excluding the main nuxt package. Any advice or help with this would be greatly appreciated....

i18n and content: No match found for location with path

I use content plugin and i18n plugin together. All markdown links cause the vue router warning No match found for location with path . Other than that, everything works fine. The links are correctly resolved in the browser to open the pages in the currently selected language and not the default language. I use strategy prefix...

NuxtAuthUtils - no auto redirect to Google login page

Hi! I'm integrating Google OAuth login into my Nuxt app using NuxtAuthUtils. When a user clicks the Google login button in my app, I expect them to be redirected to the Google login page automatically. Instead, they get a 404 error page. If they manually refresh that 404 error page, only then are they redirected to Google login page. I'm trying to figure out why the redirect isn't working right away. My app Google login button is linking to: /api/auth/google...

<MDC> Component Not Rendering Anything Despite Passing a String

I'm using the <MDC> component from Nuxt UI Pro like this: ```html <MDC :value="page.hero.title"...

Content: Missing frontmatter prop is substituted with body

I defined a "pages" collection from this initialization object ```js { source: 'pages/*.md',...

How to disable pointer event blocking when opening select dropdowns or dropdown menus.

Hello! Using NuxtUI v3.2, I noticed when using the Select, or DropdownMenu components, when you open the select dropdown or the dropdown menu, the <body> gets a pointer-events: none style to it, along with hiding the overflow. While this is the expected behavior for Modal and Dialog components with overlay, this is kind of a strange feature for a simple dropdown. The user cannot hover or click on anything else, and the page is unscrollable while a select menu is open. Is there a way to turn this behaviour off, but still keep this functionality for real overlay components like modals and slide-overs?...

chunks are larger than 500 kB after minification

Hello, I have a Nuxt application and everything works perfectly, but I’ve been focusing on optimizations lately. I was checking the build, and it gives that warning: “Some chunks are larger than 500 kB after minification.” Is there any article, best practices, or place where I can study this type of optimization?...

Access nitro/nuxt hooks from nuxt module

I cannot use await (because it means breaking changes). ```ts function getHooks(): Hookable<GlobalFetchHooks & ClientFetchHooks> | null { try {...