ラッパー: @tsparticles/nuxt2
tsParticles の公式 Nuxt 2 モジュール ラッパー。
インストール
bash
pnpm add @tsparticles/nuxt2 @tsparticles/engine @tsparticles/slim簡単なセットアップの流れ
- モジュール + エンジン + ローダー パッケージをインストールします。
- クライアント専用の使用法で Nuxt config にモジュールを登録します。
- コンポーネント/モジュール構成を通じてオプションを提供します。
モノリポジトリ参照
- パッケージフォルダー: https://github.com/tsparticles/tsparticles/tree/main/wrappers/nuxt2
- デモアプリ: https://github.com/tsparticles/tsparticles/tree/main/demo/nuxt2
