function / @typed/astro

default

Registers the Typed server and browser renderers with Astro. Add one instance to astro.config’s integrations list. Client directives then select whether and when each branded Typed component starts in the browser.

Package version
1.0.0-beta.13
Category
Integration setup
Since
1.0.0

Import

import typed from "@typed/astro";

Signatures

export default function typed(): AstroIntegration;

Examples

import { defineConfig } from "astro/config"
import typed from "@typed/astro"

export default defineConfig({ integrations: [typed()] })

Source