Skip to content

Commit fcd085e

Browse files
authored
Merge pull request #3 from richlloydmiles/patch-1
Added HTML example
2 parents c72a946 + 25dd5a7 commit fcd085e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ Vue.component('pagination', require('laravel-vue-pagination'));
2828
Use the component:
2929

3030
```html
31+
<ul>
32+
<li v-for="post in laravelData.data" v-text="post.title"></li>
33+
</ul>
34+
3135
<pagination :data="laravelData" v-on:pagination-change-page="getResults"></pagination>
3236
```
3337

0 commit comments

Comments
 (0)