Skip to content
Docs Try Aspire

NxAppResource Constructors

Class Constructors 1 member
A resource that represents a Node.js application running under Nx.
Constructor(string, string, string, string) Section titled Constructor(string, string, string, string)
A resource that represents a Node.js application running under Nx.
public class NxAppResource
{
public NxAppResource(
string name,
string workingDirectory,
string appName,
string command = "nx")
{
// ...
}
}
name string The name of the resource.
workingDirectory string The working directory of the application.
appName string The Nx app name to run (used in 'nx serve {appName}').
command string optional The command to run (default is 'nx').