@dioramajs/diorama/astro
Astro integration that adds the Vite plugin.
On this page
import { diorama } from '@dioramajs/diorama/astro'Functions
diorama | The Astro integration: the Vite plugin for the effects folder, Lenis and scroll on request. |
Interfaces
AstroIntegrationLike | The part of an Astro integration the plugin returns. |
AstroLenisOptions | Lenis options that can be written into the page. Functions (`easing`, `prevent`, `virtualScroll`) cannot: pass those to `smoothScroll` from diorama/astro/client in a script. |
AstroSetupParams | What `astro:config:setup` gives the integration. |
DioramaAstroOptions | Options of the Astro integration. |