TsParticles, Astro and Svelte

I'm trying to use tsparticles within a svelte component, but even with a client:load, it doesn't work? I must be missing something.
I've tried ts-particles astro, but it doesn't seem to work. Are there any examples?
Here's the current repository.

https://github.com/Lofty-Brambles/alpha_esports/tree/main/src
Component is in components/svelte/Particles.svelte and is being displayed in pages/base.astro
GitHub
Contribute to Lofty-Brambles/alpha_esports development by creating an account on GitHub.
alpha_esports/src at main · Lofty-Brambles/alpha_esports
Was this page helpful?