$load
$load
simplifies the process of loading external data such as models or textures by returning a promise.
<br x-3.primitive="(await $load($loaders.GLTFLoader, 'model.glb')).scene" />
Parameters
Name
type
Description
path
string
The path to what you want to load
Last updated