Lagon
Deploy Nitro apps to Lagon.
Lagon is an open source platform that allows you to run TypeScript and JavaScript close to your users.
๐ง This is an early access and in progress preset. Please followup via unjs/nitro#966
Preset: lagon
(switch to this preset)
Nitro supports deploying on Lagon with minimal configuration - see documentation.
Set up application
- Build your Nitro app with
NITRO_PRESET=lagon
- Install Lagon CLI and login using
npx @lagon/cli login
. - Deploy with
lagon deploy .output/server/index.mjs -p .output/public
. Lagon will ask if you want to link to an existing function or create a new one.
You should be good to go!