addNxApp
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addNxApp( name: string, workingDirectory?: string): NxResource;}Signature
method
addNxApp builderAdds an Nx monorepo workspace to the distributed application builder.
addNxApp( name: string, workingDirectory?: string): NxResourceParameters
namestringThe name of the Nx workspace resource.workingDirectory stringoptionalThe working directory of the Nx workspace. If not specified, it will be set to a path that is a sibling of the AppHost directory using the `name` as the folder.Returns
NxResource Applies to
This method applies to the following types: