An example of using Nitro with the world-renowned htmx. Using Nitro makes building for any platform / runtime a breeze!
Clone the repo
git clone https://github.com/Eckhardt-D/nitrx.git
Install dependencies
pnpm install
Run the development server
pnpm dev
Build for any platform (e.g Vercel Edge)
NITRO_PRESET=vercel-edge npx nitropack build
Read the Nitro Deployment Docs to see what other presets are available to you.
Let's abolish JS with an exorbitant amount of JS π