// Start the application in development mode (hot-code reloading, error reporting, etc)next devnext dev mydir -p 8080
// build application in current directory's .next foldernext buildnext build mydir
// start in production mode (must run 'next build' before)next startnext start mydir -p 8080
// Export the application for production deploymentnext exportNext CLI
// Start the application in development mode (hot-code reloading, error reporting, etc) next dev next dev mydir -p 8080 // build application in current directory's .next folder next build next build…