Skip to content

[Feature Request] Add Support for Nuxt Backend (Nitro-Powered Server) #216

Closed

Description

@misbahansori

Currently, create-better-t-stack does not support Nuxt’s native backend powered by Nitro. It would be great if we could use Nuxt backend when we select Nuxt as the framework, since it's already built-in. Given that Nuxt already ships with a powerful full-stack server engine (Nitro).

Activity

  1. ThimoDEV commented on May 14, 2025

    @ThimoDEV

    Agreed, Also for me it would make a lot of sense to use a separate nitrojs server since more and more frameworks use nitro

  2. therealokoro commented on May 16, 2025

    @therealokoro

    Yes please. We should also be able to use oRPC with nuxt's default nitro server

  3. ThimoDEV commented on May 21, 2025

    @ThimoDEV

    @therealokoro Its actually quite easy to transform a better-t-stack with a honojs backend and orpc into using nitrojs

    This is the gist to implement it

    https://gist.github.com/ThimoDEV/54c69087148398e5dc82d4f8fa70dcbc

  4. therealokoro commented on May 23, 2025

    @therealokoro

    @ThimoDEV I already did this. I even went on to add NuxtHub to my setup. I only made the comment because I feel it would be awesome to have it as a option in the stack at least for those who may find it difficult to do. And the whole idea of a starter template in the first place is to speed up your app creation process, so you don't have to run through the same setup every time you'd want to start a new project🤷🏾

  5. ThimoDEV commented on May 30, 2025

    @ThimoDEV

    Great to hear you already made it work. Since its not yet implemented let me also show the trpc variant so its as easy as possible to implement and for everyone who comes across this issue to make it just copy paste for now:

    https://gist.github.com/ThimoDEV/27eb1dba1fb447e43175f08093e5e99d

    I see it purely as documenting it so it doesn't get lost. Hope to get it builtin but this should hopefully help anyone new coming in this thread :)

  6. therealokoro commented on May 30, 2025

    @therealokoro

    @ThimoDEV That's nice of you. How about you open a gist for the code to make it more readable

  7. Mateleo commented on Sep 8, 2025

    @Mateleo

    Is there any update on this ?

  8. hacknug commented on Oct 10, 2025

    @hacknug
    Contributor

    Nitro v3 alpha is out 👀 https://v3.nitro.build/

  9. AmanVarshney01 commented on Oct 21, 2026

    @AmanVarshney01
    Owner

    Nuxt can now be the backend with --backend self on Nitro (#819). If you still see this on the latest version, please reopen or open a new issue with the details.

  10. therealokoro commented on Oct 21, 2026

    @therealokoro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions