Skip to content
DocsTry Aspire
DocsTry

withPackageManagerLaunch

Method
📦 CommunityToolkit.Aspire.Hosting.JavaScript.Extensions v13.4.0
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
packageManagerstringoptional
NxResource

Applies to

This method applies to the following types: