@productdevbook/motion
v1.0.3
Published
The motion library for Vue 3
Downloads
2
Maintainers
Readme
Motion One Vue
This library is motionone library not written for vue 3 and nuxt3.
Setup
Vue 3
pnpm add @productdevbook/motion
# or
yarn add @productdevbook/motion
# or
npm install --save @productdevbook/motion
import { createApp } from 'vue'
import { Motion, Presence, PresenceGroup } from '@productdevbook/motion'
const app = createApp(App)
app.component('Motion', Motion)
app.component('Presence', Presence)
app.component('PresenceGroup', PresenceGroup)
app.mount('#app')
Nuxt 3
pnpm add @productdevbook/motion
# or
yarn add @productdevbook/motion
# or
npm install --save @productdevbook/motion
// nuxt.config.ts
export default defineNuxtConfig({
modules: ['@productdevbook/motion/nuxt'],
})
Usage
soon
Thank you
This project is inspired by motiondivision/motionone
vue presence group component is inspired by @Znonymous29
License
This project is licensed under the MIT License.