From 56fa4c3a24e1392c52bf180df8e9f37834075909 Mon Sep 17 00:00:00 2001 From: Catalin Zalog Date: Sat, 23 Feb 2019 08:28:57 +0200 Subject: [PATCH] docs: adds import app in entry-client --- docs/guide/data.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/guide/data.md b/docs/guide/data.md index 8abb746c..966e5fd9 100644 --- a/docs/guide/data.md +++ b/docs/guide/data.md @@ -182,6 +182,8 @@ When using `template`, `context.state` will automatically be embedded in the fin ``` js // entry-client.js +import { createApp } from './app' + const { app, store } = createApp() if (window.__INITIAL_STATE__) {