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