Skip to content

Commit

Permalink
clean up for vue2/vue3
Browse files Browse the repository at this point in the history
  • Loading branch information
shershen08 committed Nov 29, 2021
1 parent 60e6913 commit eac2ff4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 139 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
![DEPENDENCIES status](https://david-dm.org/shershen08/vue-masonry/status.svg)
[![](https://data.jsdelivr.com/v1/package/npm/vue-masonry/badge)](https://www.jsdelivr.com/package/npm/vue-masonry)

**Current version: 0.12.0**
**Current version: 0.14.0**

Vue.js directive for masonry blocks layouting. Original [masonry library](http://masonry.desandro.com/).

Expand Down Expand Up @@ -46,8 +46,12 @@ You can also clone the basic demo repository [vue-masonry + vue-cli webpack](htt
```
### Usage with Vue 3
- Dependencies: [mitt](https://www.npmjs.com/package/mitt) package
- In your Vue 3 app, you'll have the following code
- Use version >= `0.14.0`
- or of using __earlier__ version:
Dependencies: [mitt](https://www.npmjs.com/package/mitt) package
In your Vue 3 app, you'll have the following code
```
import { createApp } from 'vue'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-masonry",
"version": "0.14.0-beta.0",
"version": "0.14.0",
"description": "masonry layout for vue.js",
"main": "src/masonry.plugin.js",
"scripts": {
Expand Down
135 changes: 0 additions & 135 deletions src/masonry-vue3.plugin.js

This file was deleted.

0 comments on commit eac2ff4

Please sign in to comment.