addJavaScriptApp
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addJavaScriptApp( name: string, appDirectory: string, runScriptName?: string): JavaScriptAppResource;}Signature
method
addJavaScriptAppbuilderAdds a JavaScript application resource to the distributed application using the specified app directory and run script.
addJavaScriptApp( name: string, appDirectory: string, runScriptName?: string): JavaScriptAppResourceParameters
namestringappDirectorystringrunScriptNamestringoptional= devReturns
JavaScriptAppResourceApplies to
This method applies to the following types: