From b59f53335b6bc9abaace31a4ba62f344ca2e5bc1 Mon Sep 17 00:00:00 2001 From: AlexDubok Date: Wed, 6 Feb 2019 10:54:40 +0200 Subject: [PATCH] Replace asyncData with serverPrefetch --- docs/guide/data.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/data.md b/docs/guide/data.md index bee85f62..8abb746c 100644 --- a/docs/guide/data.md +++ b/docs/guide/data.md @@ -217,7 +217,7 @@ export default { } ``` -We can use `store.registerModule` to lazy-register this module in a route component's `asyncData` hook: +We can use `store.registerModule` to lazy-register this module in a route component's `serverPrefetch` hook: ``` html // inside a route component