vueuse-motion-skilld
Installation
SKILL.md
@vueuse/motion 3.0.3
Vue 3 composables for declarative animation, built on Popmotion (not WAAPI). Three interchangeable surfaces: v-motion directive, <Motion>/<MotionGroup> components, and the useMotion() composable.
Environment limits
- Vue 3 only (
vue >=3.0.0peer,package.json:79-81). - ESM-only since v3.0.0: no CommonJS build (
"type": "module", only.mjsexports,package.json:2,31-35; https://github.com/vueuse/motion/pull/254). Norequire(); CJS projects must migrate to ESM or dynamicimport(). - Depends on
@vueuse/core/@vueuse/sharedv13,popmotion11 (package.json:82-89). - Nuxt integration needs
@nuxt/kit>=3.13 (optional dependency,package.json:90-92). - Animations run on
window; SSR only renders theinitialvariant as inline styles (see Nuxt & SSR).
Setup
Vue app entry (README.md:32-44):