ラッパー: @tsparticles/nuxt4
tsParticles の公式 Nuxt 4 モジュール ラッパー。
インストール
bash
pnpm add @tsparticles/nuxt4 @tsparticles/engine @tsparticles/slim簡単なセットアップの流れ
- モジュール + エンジン + ローダー パッケージをインストールします。
- Nuxt モジュールを登録し、クライアント上でキャンバスのレンダリングを維持します。
- アプリ構成/コンポーネントからオプションを渡します。
モノリポジトリ参照
- パッケージフォルダー: https://github.com/tsparticles/tsparticles/tree/main/wrappers/nuxt4
- デモアプリ: https://github.com/tsparticles/tsparticles/tree/main/demo/nuxt4
