包装:@tsparticles/nuxt3
tsParticles 的官方 Nuxt 3 模块包装器。
安装
bash
pnpm add @tsparticles/nuxt3 @tsparticles/engine @tsparticles/slim快速设置流程
- 安装模块+引擎+选定的加载器。
- 向客户端渲染注册模块/插件。
- 在组件或可组合设置中配置选项。
Monorepo 参考资料
- 包文件夹:https://github.com/tsparticles/tsparticles/tree/main/wrappers/nuxt3
- 演示应用程序:https://github.com/tsparticles/tsparticles/tree/main/demo/nuxt3
