Skip to content

Commit e1330ca

Browse files
committed
Update vue dependency version to 3.0.5
Vue wasn't properly emitting events in 3.0.0.
1 parent 84e2d67 commit e1330ca

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ npm i vue-my-photos --save
2222

2323
### Via CDN:
2424
```html
25-
<!-- In <head> -->
26-
<meta rel="stylesheet" href="https://unpkg.com/vue-my-photos/dist/lightbox.css">
2725
<!-- In <body>, after Vue import -->
28-
<script src="https://unpkg.com/vue-my-photos/dist/lightbox.js"></script>
26+
<script src="https://unpkg.com/vue-my-photos/dist/lightbox.min.js"></script>
2927
```
3028

3129
## Setup

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-my-photos",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "Simple lightbox component for Vue 3 applications",
55
"author": "Andrew McGrath",
66
"scripts": {
@@ -41,10 +41,7 @@
4141
"rollup-plugin-terser": "^7.0.2",
4242
"rollup-plugin-vue": "^6.0.0-beta.10",
4343
"typescript": "^3.8.3",
44-
"vue": "^3.0.0"
45-
},
46-
"peerDependencies": {
47-
"vue": "^3.0.0"
44+
"vue": "^3.0.5"
4845
},
4946
"engines": {
5047
"node": ">=10"
@@ -64,4 +61,4 @@
6461
"type": "git",
6562
"url": "git://github.com/am283721/vue-my-photos.git"
6663
}
67-
}
64+
}

0 commit comments

Comments
 (0)