Emballage : @tsparticles/astro
Emballage Astro officiel pour tsParticles.
Installer
bash
pnpm add @tsparticles/astro @tsparticles/engine @tsparticles/slimFlux de configuration rapide
- Installez l'enrubanneuse + le moteur + le chargeur choisi (
@tsparticles/slimsuggéré). - Enregistrez les particules côté client dans les composants/mises en page Astro.
- Transmettez l'objet d'options ou JSON au composant wrapper.
Références Monorepo
- Dossier du package : https://github.com/tsparticles/tsparticles/tree/main/wrappers/astro
- Application de démonstration : https://github.com/tsparticles/tsparticles/tree/main/demo/astro
Lisez-moi
- README du wrapper : https://github.com/tsparticles/tsparticles/tree/main/wrappers/astro#readme
