Skip to content
DocsTry Aspire
DocsTry

ViteAppResource Constructors

ClassConstructors1 member
Represents a Vite application resource that can be managed and executed within a Node.js environment.
Constructor(string, string, string)Section titled Constructor(string, string, string)
Represents a Vite application resource that can be managed and executed within a Node.js environment.
public class ViteAppResource
{
public ViteAppResource(
string name,
string command,
string workingDirectory)
{
// ...
}
}
namestringThe unique name used to identify the Vite application resource.
commandstringThe command to execute the Vite application, such as the script or entry point.
workingDirectorystringThe working directory from which the Vite application command is executed.