Diorama

Made for a big screen.

This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.

GitHub

DioramaDocs

nextModule function

Lazy imports with their metadata and the registry's types in one file.

View as Markdown
import { nextModule } from '@dioramajs/diorama/next'
function nextModule(
  found: readonly Found[],
  from: string,
  tool?: string,
): string

Parameters

NameTypeDescription
foundreadonly Found[]
fromstring
tool?string

Default '@dioramajs/diorama/next'.

Defined in packages/diorama/src/next.ts.