Skip to content

Commit 7932bc9

Browse files
committed
use unified slot syntax in example
1 parent d1a903e commit 7932bc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ Vue.use(VuePureLightbox)
7676
{ link: 'https://placekitten.com/1080/920', alt: 'Cat 2' },
7777
]"
7878
>
79-
<div slot:loader>Loading…</div>
80-
<div slot:content="{ url: { link, alt } }">
79+
<div v-slot:loader>Loading…</div>
80+
<div v-slot:content="{ url: { link, alt } }">
8181
<img :src="link" :alt="alt">
8282
</div>
8383
</VuePureLightbox>

0 commit comments

Comments
 (0)