Skip to content

Commit 3bf052a

Browse files
authored
docs(readme): update usage examples
1 parent c12a791 commit 3bf052a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Vue.use(LazyloadVue)
3535

3636
```html
3737
<template>
38-
<img v-lazy-src="http://lorempixel.com/300/300" />
38+
<img v-lazy-src="'http://lorempixel.com/300/300'" />
3939
</template>
4040
```
4141

@@ -44,7 +44,7 @@ Vue.use(LazyloadVue)
4444
```html
4545
<template>
4646
<div v-lazy-container class="scrollingPanel">
47-
<img v-lazy-src="http://lorempixel.com/300/300" />
47+
<img v-lazy-src="'http://lorempixel.com/300/300'" />
4848
... other images
4949
</div>
5050
</template>
@@ -77,8 +77,8 @@ Vue.use(LazyloadVue, {
7777
```html
7878
<template>
7979
<div>
80-
<img v-lazy-src="http://lorempixel.com/300/300">
81-
<img v-lazy-src:webp="http://lorempixel.com/300/300">
80+
<img v-lazy-src="'http://lorempixel.com/300/300'">
81+
<img v-lazy-src:webp="'http://lorempixel.com/300/300'">
8282
</div>
8383
</template>
8484
```

0 commit comments

Comments
 (0)