Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

NextJsAppResource

Handle
📦 Aspire.Hosting.JavaScript v17.0.0

Represents a Next.js application resource.

type NextJsAppResource interface {
IComputeResource
Resource
ResourceWithArgs
ResourceWithContainerFiles
ResourceWithEndpoints
ResourceWithEnvironment
ResourceWithServiceDiscovery
ResourceWithWaitSupport
}

Properties

propertyResourceTypeDisplayNamestringget
Gets the ResourceTypeDisplayName property
ResourceTypeDisplayName() (string, error)

Methods

Disables deploy-time build validation checks for the Next.js application.
DisableBuildValidation() NextJsAppResource
NextJsAppResource

The resource builder for chaining.

Returns a handle; failures surface later via Err().