Nuxt

N

Nuxt

Nuxt Community Chat Server

Join

Nuxt 4 + Nuxt UI Pro 3?

Hi all! Anybody else experiencing Nuxt 4 not wanting to start because it has issues with Nuxt-UI ? ```
dev nuxt dev
...

Symfony like environment

Hi everyone, I've set up an Nuxt3 environment with a standard repo as a submodule and the main repo for customizing. At the moment I've a build script with a --watch argument to watch over the standard and custom folder to use the nuxt dev command for both. Is there a way with Nuxt3 to create something like this, without a big build script and handle both parts like in Symfony to replace Vue files from the standard with the custom once and combine TS files in stadnard/plugins/ with custom/plugins/ etc? ...

Is there a way to render .client.vue components with a fallback?

I know you can do <ClientOnly> wrappers around existing components, but I'm asking if there's a way to use named client components (/components/Some.client.vue) and still have a <template #fallback>Loading...</template>

How do I write types for an alias?

Hey fellow Nuxters, I've been looking for ways of writing types for an alias to a file which contains a default export. I have not been able to come across a working solution as my editor keeps underlining the import saying it doesn't have a corresponding type declaration. This is the code for the type I'm writing...

Nuxt UI selectMenu unselect

Is it possible to unselect current selected option in selectMenu component from Nuxt UI? It is possible whenever prop multiple is true, but I am not sure whenever is multiple false...

Storing jwt token with nuxt-auth-utils

Does nuxt-auth-utils support storing normal jwt tokens inside the session object?

auth utils get used provider

Hello, I'm using Nuxt Auth Utils and the connection was successful, now I want to know if it's possible to get the provider used for the connection. Is it possible?

defineLazyHydrationComponent can't import component

this my code ``` <template> <div> <LazyListMovieStyleA />...

Dev server crashes after about an hour

I'm working on a nuxt 4 project and noticed the dev server crashes after about an hour with the following messages: ℹ nuxt.config.ts updated. Restarting Nuxt...
ℹ Nuxt Icon server bundle mode is set to local
...
No description

Is better-sqlite3 required with Nuxt Content?

I am using Nuxt Content with Nuxt 4 and when I run the dev environment, I am being prompted to also install the better-sqlite3 dependency, is it required with Nuxt Content if I am only going to be using markdown files in the content folder?

Nuxt content images are not loading - Nuxt Content v3.3.0

Hi, I'm creating a blog with nuxt content but when I'm using an image in the .md file they are not loading/ Below is first-blog.md file with all options I have tried:...
No description

Nuxt UI Table disappears when using mutable field ref()

Hello All, I am running into an issue where nuxt ui tables disappear after receiving data. I have been pulling my hair out trying to figure out why, there is no error, or warnings. ...
No description

Resolving TS issues in custom module

I changed my tsconfig to: ```ts { "extends": "./.nuxt/tsconfig.json", "exclude": [...

vite.config.ts vs app.config.ts

vite.config.ts vs app.config.ts

Using sidebase/nuxt-auth with GraphQL

Hello everybody, Has anybody got a good resource about how to leverage sidebase's nuxt-auth library, using a local provider, with GraphQL? I'm moving to GraphQL but I also really like sidebase's middlewares for page protection and tools. My auth backend uses GraphQL and provides a typical single endpoint: /graphql and fields for getting token, refresh token and session. From what I gather, what I would need to do is adapt the endpoints part of the configuration:...

why does this cause error?

i'm using useRequestEvent & useAsyncData in 2 composables, which are combined in the third one named useBoth. it causes error A composable that requires access to the Nuxt instance was called outside of a plugin, Nuxt hook, Nuxt middleware, or Vue setup function. if inside useBoth i comment out one of the composables, the error is gone reproduction here...

How do I upload my Nuxt templates to the official website? Where's the 'submit' button ?

Came here from Reddit ANS - I've built a Nuxt.js template I'd like to share. I can't find a direct upload or 'submit' button on the official Nuxt.js website. Am I looking in the wrong place, or is there a specific process for getting community templates listed there?...

[Need Non-AI Help] `nuxt generate` returns error when used with NuxtPicture and `avif,webp` format

I am using @nuxt/icon module to optimize image files located under public/ as it's been stated in the documentation. I was using <NuxtImg> and configured the modules as seen below ``` image: { provider: 'ipxStatic', staticFilename: '[name]-[hash].[ext]', // output file naming...

Does nuxt-auth-utils package support jwt or cookie based authentication?

I'm building a fullstack web application with a dotnet as a backend and am using Identity as a the auth solution. The user is authenticated using either jwt token or cookie based authentication but I can't find anything in the docs suggesting that nuxt-auth-utils supporting that...

Do I have to specify in the nuxt config files if I am using the app dir?

I am using Nuxt 4 and was wondering if I have to specify the src dir in the NuxtConfig file if the said file is in the root of the project and I am using the app dir structure.