Share via


ViteAppResource(String, String, String) Constructor

Definition

Represents a Vite application resource that can be managed and executed within a Node.js environment.

public ViteAppResource(string name, string command, string workingDirectory);
new Aspire.Hosting.JavaScript.ViteAppResource : string * string * string -> Aspire.Hosting.JavaScript.ViteAppResource
Public Sub New (name As String, command As String, workingDirectory As String)

Parameters

name
String

The unique name used to identify the Vite application resource.

command
String

The command to execute the Vite application, such as the script or entry point.

workingDirectory
String

The working directory from which the Vite application command is executed.

Applies to