This page shows you how to add the Interact Astro plugin
Installation
Manually
- Add interact as a dependency
- Configure your
astro.config.mjs
import {defineConfig} from 'astro/config';
import interact from '@gerardnico/interact-astro';
export default defineConfig({
integrations: [
interact()
]
});
With Astro Add
![IMPORTANT] Will not work as
@gerardnico/interact-astrois not published
yarn astro add @gerardnico/interact-astro