Closed Bartyspace closed 3 months ago
particlesInit
is not part of window type, you need to declare a new property there like this: https://stackoverflow.com/questions/12709074/how-do-you-explicitly-set-a-new-property-on-window-in-typescript
about the other error, what tsparticles packages are you using and which version? astro-particles
doesn't work with tsparticles
v3 yet.
I solved the first problem, So how can i use tsParticles in Astro? With React?
I solved the first problem, So how can i use tsParticles in Astro? With React?
Use version 2, if you don’t need v3 features it’s fine.
I uninstall all modules and installed astro-particles. Now i don´t know how to install tsparticles v2.
I uninstall all modules and installed astro-particles. Now i don´t know how to install tsparticles v2.
npm install tsparticles@2
I tried everything. Now i have astro-particles and tsparticles@2. Another problem showed up.
I solved it. Solution was tsParticles. But my console showed error.
I solved. Ty for your help. I am so happy after four days of trying. 😆
Hi, am having issue with tsparticles script i my project.
Can u help me?