Nuxt

N

Nuxt

Nuxt Community Chat Server

Join

Dynamic Carousel Page

How to change the page of a nuxtui carousel using another SelectMenu

Need URGENT help regarding useCookie issue

I have a issue that once I set cookie via SSR once it works fine. In the cookie I am setting JWT token value. I have made a plugin for api calls named httpClient which is under the hood is using axios where I am using axios interceptor for request and response to do dynamic stuff like passing token in request headers and stuff There is global middleware which checks if cookie doesnt exist then it calls internal nuxt api which is inside /server directory which is working fine....

Nuxt 3 - generating dynamic sitemap xml for storyblock

Hello! I installed sitemap module from nuxt modules and I have problem with dynamic generating sitemap for articles. I dont see URL's from dynamic generation on sitemap.xml. I have 5 static routes, and X dynamic routes. ...

Nuxt UI v3 UModal: injection "Symbol(nuxt-ui.locale-context)" not found.

I recently updated Nuxt, Nuxt UI and Vue to the latest versions in order to update configurations according to latest documentation. Everything's working fine after the updates except UModal component which shows the error: WARN [Vue warn]: injection "Symbol(nuxt-ui.locale-context)" not found. and refuses to update visibility. ```html <UModal v-model:open="open" fullscreen> ......

Unable to Fetch Modules from https://api.nuxt.com/modules in China

Hi everyone, I hope you're doing well! I'm facing an issue while trying to create a Nuxt project using the command pnpm create nuxt@latest. When the process tries to fetch modules from https://api.nuxt.com/modules, it fails with the error: [GET] "https://api.nuxt.com/modules": <no response> fetch failed....

Wanted to Share: Notebook LM Deepdive podcast on Nuxt UI 3 Migration

Hi all, I've been a huge fan of using Nuxt UI (Pro). Thank you to all that contributed to the release. I wanted to get caught up on the migration to Nuxt UI 3 and uploaded the migration guide to Notebook LM so I could listen during the office commute. This is an exciting update and wanted to the audio as it was helpful for me to get caught up quickly. You may need to log into a Google Account to access, if anyone knows a way around this let me know. ...

NuxtHub Environment Variables not working

Hey, I have a problem with the deployment of my Nuxt application on NuxtHub: my environment variables aren't working. My Nuxt Config: ```ts...
No description

Find Memory Leak

Hi, I’ve attached a screenshot showing the memory usage on the server. It appears there is a minor memory leak, as the chart slowly increases over time and then drops after each deployment. I attempted to diagnose the issue by comparing snapshots using the Node.js DevTools, but I wasn’t able to identify anything specific to apply a fix....
No description

Nuxt UI 2.21.1 migration to v 3.0.0

I'm trying to migrate Nuxt Ui from version 2.21.1 to version 3.0.0, but I get some errors. I'm running Nuxt 3.16 and my current implementation is /app/assets/css/tailwind.css...

give me a simple example of socket io in nuxt3 js

give me a simple example of socket io in nuxt3 js

useId() hydration mismatch

I'm experiencing an issue when using useId while creating form field components. I get warnings only on the <label> elements accompanying an input, and the issue is that there is always an extra 0 in the id string, e.g. ``` - rendered on server: for="v-0-0-0-0-0-0-0-0-0-1-0-0-0-0-0-0-0_9" - expected on client: for="v-0-0-0-0-0-0-0-0-0-0-1-0-0-0-0-0-0-0-0_9"...

Custom Colors in Nuxt UI v3

Hello, I'm trying out Nuxt UI v3 now and I'm not able to introduce new colors like I've done in v2. In v2 I just have done the following: ...

/server folder

Hi! I've just migrated my app from Nuxt 2 to Nuxt 3. Lots of things seems to work well, apart from auto registering some server logic. /plugins/ignoreRouterWarnings.server.ts is not run on the server...

Transition of drawer state

Hey, I want to make a Drawer that can have multiple states/menus. Example: First screen should be buttons of what to do (upload as pdf or png) and then it should switch to the new menu. Switching kind of works. But the size of the drawer doesn't animate but rather jumps around. how to fix? I'm using ui3 ```xml <UDrawer should-scale-background...

Proxy with header

What is the recommended way to proxy requests? My frontend will log in using auth0. The access token is needed to talk to the api at a subdomain. Currently the access_token is in the session cookie encrypted(secret)...

Current state of Module Federation for Nuxt

Hi, everyone! I'm researching how to make a microfrontent with Nuxt using the module federation, but cannot found any actual doc/information. There are some old repos with examples, but they are irrelevant. Now I'm trying to understand if it is possible to expose components from Nuxt. Or shouuld I use plain Vue for this goal?...

Script in head not in the listed order

Hello, I've added script on the head part (in nuxt.config), but the listed script is injected in the wrong order. I've script with "children" and script with "src", and it place everytime the script with src in the earliest position but it's at the end of my array. Is there a way to control the "priority" of scripts ? I tried the tagPriority thing, but it's not working too...

Loading scripts dynamically

I have a page that im trying to optimize for speed which has jquery + a couple other scripts that depend on jquery in useHead(). I don't want these scripts to load on the page until i click a button which changes what appears on the page, but its still the same page. If i put useHead in the components that appear after the button click, they load but take way too long and it errors on my onMounted() where im trying to use those scripts since they arent loaded yet. It even somehow errors my other...

Error 500 on server side

Many times i get errors like this. 500 Cannot read properties of undefined (reading 'limit') ...

Table

anyone have example about Table in nuxt ui v3 i confuse about columns resizing i try it but don't work or will have this future soon