addNextJsApp
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addNextJsApp( name: string, appDirectory: string, runScriptName?: string): NextJsAppResource;}Signature
method
addNextJsAppbuilderAdds a Next.js app to the distributed application builder.
addNextJsApp( name: string, appDirectory: string, runScriptName?: string): NextJsAppResourceParameters
namestringappDirectorystringrunScriptNamestringoptional= devReturns
NextJsAppResourceApplies to
This method applies to the following types: