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

  1. Build your Nitro app with NITRO_PRESET=lagon
  2. Install Lagon CLI and login using npx @lagon/cli login.
  3. 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!