Skip to main content

Interface: Resource

Utils.Resource

An interface representing a resource, specifying the loader type and paths to be loaded.

Properties​

loader​

• loader: Object

The type of loader to use for this resource.

Defined in​

src/utils/Asset.ts:28


paths​

• paths: (string | ResourceConfig)[]

An array of resource paths or configurations to be loaded by the loader.

Defined in​

src/utils/Asset.ts:32