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

DioramaPluginOptions interface

Options of the build plugins.

View as Markdown
import type { DioramaPluginOptions } from '@dioramajs/diorama/vite'
interface DioramaPluginOptions

Members

NameTypeDescription
readonly dir?string

The effects folder, relative to the Vite root. Default 'src/effects'.

readonly types?string | false

The types file, relative to the root, or false for none. Default 'src/diorama.gen.d.ts'.

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