包装:@tsparticles/inferno
tsParticles 的官方 Inferno 包装器。
安装
bash
pnpm add @tsparticles/inferno @tsparticles/engine @tsparticles/slim快速设置流程
- 安装wrapper+
@tsparticles/engine+loader包。 - 在应用程序初始化中加载功能一次。
- 使用键入的选项渲染 Inferno 组件。
Monorepo 参考资料
- 包文件夹:https://github.com/tsparticles/tsparticles/tree/main/wrappers/inferno
- 演示应用程序:https://github.com/tsparticles/tsparticles/tree/main/demo/inferno
