modules
modules copied to clipboard
[Module Listing Request]: `...` Use Elysia app in Nuxt
Description
Features
-
Directly mount Elysia in Nuxt
- Simplify development setup (you do not have to run Elysia app server separately)
- Simplify deployment (deploy only one server)
- Support multi-service (fully unleash its performance)
-
Eden Treaty integration
- Full Eden Treaty features (end-to-end type safety, lightweight size)
- Isomorphic client: Eden Treaty works in both server-side and client- side without additional configuration
- Pass headers sent by browser to Elysia app (the list of headers is configurable)
-
Works in both Node.js and Bun
- Run in Bun for maximum performance
- Run in Node.js for better compatibility with some packages (while waiting for full Node.js compatibility from Bun)
Repository
https://github.com/tkesgar/nuxt-elysia
npm
https://www.npmjs.com/package/nuxt-elysia
Nuxt Compatibility
Nuxt 3