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

AstroIntegrationLike interface

The part of an Astro integration the plugin returns.

View as Markdown
import type { AstroIntegrationLike } from '@dioramajs/diorama/astro'
interface AstroIntegrationLike

Members

NameTypeDescription
readonly hooks{ readonly astro:config:setup: (params: AstroSetupParams) => void }

Adds the Vite plugin in astro:config:setup, and the page script with lenis or restoreScroll.

readonly namestring

Integration name, 'diorama'.

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