Skip to content

Commit 710cab3

Browse files
author
Guillaume Chau
committed
SSR doc
1 parent 39868f7 commit 710cab3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: README.md

+8
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,14 @@ There are 4 slots you can use to inject things inside the scroller (it may be us
263263
</main>
264264
```
265265

266+
## Server-Side Rendering
267+
268+
The `prerender` props can be set as the number of items to render on the server inside the virtual scroller:
269+
270+
```html
271+
<virtual-scroller :items="items" item-height="42" page-mode prerender="10">
272+
```
273+
266274
# Example
267275

268276
```html

0 commit comments

Comments
 (0)