AstroSetupParams interface
What `astro:config:setup` gives the integration.
import type { AstroSetupParams } from '@dioramajs/diorama/astro'interface AstroSetupParamsMembers
| Name | Type | Description |
|---|---|---|
readonly config | { readonly root: URL } | The site's config; |
injectScript | | Puts the page script (Lenis, scroll restoring) and lenis.css on every page. |
updateConfig | | Adds the Vite plugin. |
Defined in packages/diorama/src/astro.ts.