Wrapper: @tsparticles/stencil
Официальный Stencil wrapper для tsParticles.
Установка
bash
pnpm add @tsparticles/stencil @tsparticles/engine @tsparticles/slimБыстрая схема настройки
- Установите wrapper + engine + пакет loader.
- Один раз зарегистрируйте Stencil custom elements через
@tsparticles/stencil/loader. - Рендерьте
<stencil-particles />и передавайтеinit+options(илиurl).
Ссылки Monorepo
- Папка пакета: https://github.com/tsparticles/tsparticles/tree/main/wrappers/stencil
- Демо-приложение: https://github.com/tsparticles/tsparticles/tree/main/demo/stencil
