Skip to content

Commit dcffeb6

Browse files
AlexDubokyyx990803
authored andcommittedFeb 6, 2019
Replace asyncData with serverPrefetch (#225)
1 parent 31b2b69 commit dcffeb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/guide/data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export default {
217217
}
218218
```
219219

220-
We can use `store.registerModule` to lazy-register this module in a route component's `asyncData` hook:
220+
We can use `store.registerModule` to lazy-register this module in a route component's `serverPrefetch` hook:
221221

222222
``` html
223223
// inside a route component

0 commit comments

Comments
 (0)
Please sign in to comment.