Skip to content

Commit

Permalink
Fix motion directive import in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vkrajsa committed Mar 23, 2023
1 parent 83dc886 commit e5199bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ app.mount('#app')
If you want to import the directive code only from components that uses it, import the directive and install it at component level.

```javascript
import { directive as motion } from '@vueuse/motion'
import { MotionDirective } from '@vueuse/motion'

export default {
directives: {
motion: motion(),
motion: MotionDirective(),
},
}
```

0 comments on commit e5199bb

Please sign in to comment.