withPackageManagerLaunch

Method
📦 CommunityToolkit.Aspire.Hosting.JavaScript.Extensions v13.6.1
interface NxResource {
// ... omitted for brevity
withPackageManagerLaunch(packageManager?: string): NxResource;
}

Signature

methodwithPackageManagerLaunchbuilder
Configures the Nx workspace to use the specified JavaScript package manager when starting apps.
withPackageManagerLaunch(packageManager?: string): NxResource
packageManagerstringoptionalThe package manager to use. If none is provided it will attempt to use the installer annotation's resource command.
NxResource

Applies to

This method applies to the following types: