Wrapper: @tsparticles/stencil
tsParticles の公式 Stencil wrapper です。
Install
bash
pnpm add @tsparticles/stencil @tsparticles/engine @tsparticles/slimクイックセットアップ
- wrapper + engine + loader package をインストールします。
@tsparticles/stencil/loaderで Stencil custom elements を一度だけ登録します。<stencil-particles />を描画し、initとoptions(またはurl)を渡します。
Monorepo 参照
- package folder: https://github.com/tsparticles/tsparticles/tree/main/wrappers/stencil
- demo app: https://github.com/tsparticles/tsparticles/tree/main/demo/stencil
