r/Nuxt

▲ 19 r/Nuxt+1 crossposts

Laid off. Looking for new opportunities.

Hi everyone,
Inspira UI and Akaza UI creator here.

I have been recently laid off from my current job due to scale down of team.

I'm actively looking for opportunities and would be able to join immediately.

My Profile: https://rahulv.dev

reddit.com
u/AlternativePie7409 — 7 hours ago
▲ 15 r/Nuxt

Not sure what changed in the past few months, but SSR on Nuxt feels insanely fast right now

I'm seeing like sub 400ms page loads (avg. 284.8ms per page) on non-cached SSR sites using the Shopify Storefront API. It also may be that I have my ecom sites hosted through Cloudflare, but idk if there was a significant update to Nuxt lately or not.

Anyone else seeing a change in their SSR sites? I don't remember my sites being this way even 4-5 months ago.

reddit.com
u/MightyRylanor — 3 days ago
▲ 9 r/Nuxt+1 crossposts

Need help structuring a REST API

Hey there!

I started the project of making a dashboard for a Discord bot using Nuxt as my stack framework.
I use nuxt's nitro server for the API and pull data from mongodb (through mongoose). Making it all in typescript.

I now face a big dilemna: how to structure my api?
There are multiple concepts to take into account:

A "Permission" on the dashboard is mapped by the moderation team, per discord server, to a discord role, falling back to a discord permission if the user does not have the role.
So checking if someone has a permissions will check first if the user has one of the roles mapped to this permission on the server, then check if the user has the fallback discord permission on the server.

In the database, a guild has a permissions property that maps permission names to an array of discord role Ids, so the following actions can be made by a user with the permission themselves to edit permissions:
- map a permission to a role
- unmap a permission to a role
- reset the mappings of a permission

How do I structure this in a REST API?

On top of that, a more basic concept:
The database has a Notifications collection, that have a title, a description, a userId and a unique identifier _id.
A user can:
- query its notifications (get)
- mark one as read
- mark all as read

the notifications are created by the backend when something needs to be notified to a user (ex: a user's request has been updated)

How do I also structure this?
Thanks in advance,
Adam

EDIT: as someone told me, i need to elaborate on the app.

It allows the users to:
- Manage their character sheets (a central feature of the bot)
- Manage their character sheet applications (a user can apply for a character sheet to be accepted in a specific discord server)
- Manage the server settings regarding the bot (permission mapping, etc..) (if they have the permission to)

reddit.com
u/AdamantiteM — 3 days ago
▲ 5 r/Nuxt+3 crossposts

I wanted to share how we recently implemented a custom AI streaming setup in our SaaS instead of relying on an SDK.

Stack:

* Nuxt (Nitro backend)

* Vue composables

* Gemini (LLM)

Core idea:

Move away from “request → response” and treat everything as a stream.

Architecture:

  1. Client sends message → `/api/chat/ask`

  2. Nitro API calls Gemini

  3. We iterate over the streaming response

  4. For each chunk:

    * send `{ type: "text", content: "..." }`

    * if function call detected → execute tool and send `{ type: "tool_result", data: ... }`

  5. Frontend reads stream via `ReadableStream.getReader()`

  6. Updates UI incrementally

Interesting parts:

* Handling partial vs final messages

* Injecting tool results mid-stream

* Keeping UI reactive without flicker

* Persisting messages only after stream completes

Result:

Much faster perceived performance and way more flexibility in UI.

Tradeoff:

More complexity vs SDK-based approach

reddit.com
u/socialmeai — 7 days ago
▲ 0 r/Nuxt+1 crossposts

I want to build a full Nuxt website (from design to production) using AI.

One important requirement for me is to get both the design (ideally in Figma) and the project source code, so I can edit it myself later and run it locally.

So far, Vercel v0 seems like one of the best tools I’ve seen.

However, I’m not sure how well it works for Nuxt/Vue projects, since the Shadcn components it uses are mainly React-based.

Has anyone tried this workflow? Or any suggestions?

reddit.com
u/YRlp98 — 11 days ago
▲ 13 r/Nuxt+1 crossposts

Calling r/Nuxt devs and those Nuxt-curious - join us for a live session with the team themselves! 

I'll be chatting with Sébastien Chopin, Daniel Roe, and Hugo Richard, then we have Eve Porcello to share more on the new Nuxt course on r/vercel Academy. 

Thursday 30th April, 10AM PST (6PM BST)

Link: Nuxt on Vercel

u/amyegan — 13 days ago
▲ 1 r/Nuxt+1 crossposts

What is the recommended implementation for environmental variables in production for NUXT. The server is a linux and I added the environmental variables via 'export', but - surprisingly - my built nuxt server is using the variables that were in the .env file for some reason? Probable due to the fact that file is used during build and the variables were in the nuxt.config.ts file.

reddit.com
u/TheMadnessofMadara — 8 days ago
▲ 0 r/Nuxt

  1. Brief introduction(Name, Age Country)

  2. Main 3-Skill(prefer skills : React, Node, Python)

  3. English level(C1, C2)-Native

  4. Hourly Rate ($30 - $60/hour) -weekly pay: monthly pay

  5. Remote Work Experience(remote-company work)

-----------------------------------------

This is very good job position( React, Node, Python, C#/.NET)-2 years

Thanks,

Michael.

reddit.com
u/Benefit5685 — 13 days ago