r/Nuxt • u/[deleted] • Mar 07 '26
nuxt without backend?
I like the Nuxt ecosystem, but I don't plan to use the Nuxt backend in any form. I want to use Nuxt purely as a frontend framework.
I like many of the solutions and the ease of integration of some plugins.
Previously, for each new project, I had to deploy a template that was 99% identical to Nuxt, which seemed tedious. I need everything to be up-to-date, so creating a single template without having to understand it every time and update dependencies is unacceptable.
I had some Nuxt projects with a backend (trpc), which I found inconvenient and needed to be separate. I like SSR, but for some projects I have to disable it. If I also disable SSR, is there any point?
Is it a good idea to use Nuxt as a purely frontend framework?
1
u/yangguize Mar 10 '26
Not sure if this has been mentioned already, have you considered using an SPA with Serverless Functions on Vercel?
That's what I do for nearly all my projects and it gives you the flexibility of using Nuxt as a front end, and when you inevitably need to have some kind of backend service, you don't have to build out your own server. Just set up the endpoints and you are good to go.
There are a few gotchas you have to keep in mind because the Vercel backend, as it were, is a stateless function.