NxResource.WithPackageManagerLaunch
Method
type NxResource interface { // ... omitted for brevity WithPackageManagerLaunch(options ...*WithPackageManagerLaunchOptions) NxResource}Signature
method
WithPackageManagerLaunch builderConfigures the Nx workspace to use the specified JavaScript package manager when starting apps.
WithPackageManagerLaunch(options ...*WithPackageManagerLaunchOptions) NxResourceParameters
options...*WithPackageManagerLaunchOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithPackageManagerLaunchOptions argument.
PackageManager *stringThe package manager to use. If none is provided it will attempt to use the installer annotation's resource command.Returns
NxResource A reference to the I.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: