auto-animate
✓使用 @formkit/auto-animate 實現 React、Vue、Solid、Svelte、Preact 的零配置動畫 (3.28kb)。 防止 10 多個已記錄的錯誤:SSR/Next.js 導入、條件父項、缺少鍵、flexbox 寬度、 表格顯示、Jest/esbuild 配置、CSS 位置衝突、Vue/Nuxt 註冊、Angular ESM。 使用場合:動畫列表/手風琴/toasts/表單,解決 SSR 動畫錯誤,需要 可訪問的動畫(自動首選減少運動),或者想要無需運動開銷的直接過渡。
SKILL.md
Package: @formkit/auto-animate@0.9.0 (Sept 2025) Frameworks: React, Vue, Solid, Svelte, Preact Last Updated: 2025-11-22
Why this matters: Prevents Issue #1 (SSR/Next.js import errors). AutoAnimate uses DOM APIs not available on server.
Issue #1: SSR/Next.js Import Errors Error: "Can't import the named export 'useEffect' from non EcmaScript module" Source: https://github.com/formkit/auto-animate/issues/55 Why It Happens: AutoAnimate uses DOM APIs not available on server Prevention: Use dynamic imports (see templates/vite-ssr-safe.tsx)
使用 @formkit/auto-animate 實現 React、Vue、Solid、Svelte、Preact 的零配置動畫 (3.28kb)。 防止 10 多個已記錄的錯誤:SSR/Next.js 導入、條件父項、缺少鍵、flexbox 寬度、 表格顯示、Jest/esbuild 配置、CSS 位置衝突、Vue/Nuxt 註冊、Angular ESM。 使用場合:動畫列表/手風琴/toasts/表單,解決 SSR 動畫錯誤,需要 可訪問的動畫(自動首選減少運動),或者想要無需運動開銷的直接過渡。 來源:ovachiever/droid-tings。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/ovachiever/droid-tings --skill auto-animate- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 auto-animate?
使用 @formkit/auto-animate 實現 React、Vue、Solid、Svelte、Preact 的零配置動畫 (3.28kb)。 防止 10 多個已記錄的錯誤:SSR/Next.js 導入、條件父項、缺少鍵、flexbox 寬度、 表格顯示、Jest/esbuild 配置、CSS 位置衝突、Vue/Nuxt 註冊、Angular ESM。 使用場合:動畫列表/手風琴/toasts/表單,解決 SSR 動畫錯誤,需要 可訪問的動畫(自動首選減少運動),或者想要無需運動開銷的直接過渡。 來源:ovachiever/droid-tings。
如何安裝 auto-animate?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/ovachiever/droid-tings --skill auto-animate 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/ovachiever/droid-tings
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-01