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