From eb1c8566484e921191872cf3244b2410488e10e3 Mon Sep 17 00:00:00 2001 From: Avele Date: Tue, 9 Jul 2019 11:31:25 +0400 Subject: [PATCH] Component methods now passed to context of execution "serverPrefetch" on client --- front/client/entry.client.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/front/client/entry.client.ts b/front/client/entry.client.ts index d383b9d..460253e 100644 --- a/front/client/entry.client.ts +++ b/front/client/entry.client.ts @@ -48,6 +48,7 @@ function registerBeforeResolve () { return serverPrefetch.call({ $store: store, $router: router, + ...component.options.methods, ...props }) }