Next.js
Practical guide to host Next.js applications on Discloud.
🧭 Introduction
📋 Requirements
🧱 Local prerequisites
🧹 Preparing project files
📦 package.json – recommended scripts
package.json – recommended scripts📦 Changing Next.js build folder (.next → dist)
.next → dist)1. Edit next.config.js
next.config.js2. Run the build
📁 Result
📦 TypeScript requirement (important)
✅ Correct example
❌ Incorrect example
🔐 Environment variables
🗂️ Recommended final project structure
🚀 Deploying to Discloud
DashboardDiscord BotVisual Studio CodeCLI🛠️ Troubleshooting (common errors)
Last updated