addNextJsApp
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addNextJsApp( name: string, appDirectory: string, runScriptName?: string): NextJsAppResource;}Signature
method
addNextJsApp builderAdds a Next.js app to the distributed application builder.
addNextJsApp( name: string, appDirectory: string, runScriptName?: string): NextJsAppResourceParameters
namestringThe name of the Next.js app.appDirectory stringThe path to the directory containing the Next.js app.runScriptName stringoptional= devThe name of the script that runs the Next.js dev server. Defaults to "dev".Returns
NextJsAppResource Applies to
This method applies to the following types: