ViteAppResource
Handle
Represents a Vite application resource that can be managed and executed within a Node.js environment.
type ViteAppResource interface { IComputeResource Resource ResourceWithArgs ResourceWithContainerFiles ResourceWithEndpoints ResourceWithEnvironment ResourceWithServiceDiscovery ResourceWithWaitSupport}Properties
property
ResourceTypeDisplayName stringgetGets the ResourceTypeDisplayName property
ResourceTypeDisplayName() (string, error)Methods
Configures the Vite app to use the specified Vite configuration file instead of the default resolution behavior.
WithViteConfig(configPath string) ViteAppResourceParameters
configPath stringThe path to the Vite configuration file. Relative to the Vite service project root.Returns
ViteAppResource The resource builder.
Returns a handle; failures surface later via Err().