@productdevbook/motion
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Motion One Vue

Motion One Vue

Version Downloads License Github Stars

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.

Package Sidebar

Install

npm i @productdevbook/motion

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

24.8 kB

Total Files

17

Last publish

Collaborators

  • productdevbook