Skip to content

Commit

Permalink
SSR doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Aug 3, 2017
1 parent 39868f7 commit 710cab3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,14 @@ There are 4 slots you can use to inject things inside the scroller (it may be us
</main>
```

## Server-Side Rendering

The `prerender` props can be set as the number of items to render on the server inside the virtual scroller:

```html
<virtual-scroller :items="items" item-height="42" page-mode prerender="10">
```

# Example

```html
Expand Down

0 comments on commit 710cab3

Please sign in to comment.