Zero config Next.js deployments with Tilda

Anees Iqbal photoAnees IqbalHead of Infrastructure

Tilda now supports Next.js deployments without any additional configuration or changes to your project. Tilda CLI will automatically detect and build your Next.js project using the default build command.

Commands
bash
# This will run "npm run build" in the current directory
npx @tildacloud/cli build nextjs

That's it! No special configuration files or changes to your next.config.js required. Your project is now ready to be deployed to Tilda:

Commands
bash
npx @tildacloud/cli deploy --project my-project --site my-site

You'll see the URL to your new deployment in the output after the deployment is complete.