Skip to content

Commit 3839359

Browse files
zalogyyx990803
authored andcommitted
docs: adds import app in entry-client (#232)
1 parent 14e3169 commit 3839359

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/guide/data.md

+2
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ When using `template`, `context.state` will automatically be embedded in the fin
182182
``` js
183183
// entry-client.js
184184

185+
import { createApp } from './app'
186+
185187
const { app, store } = createApp()
186188

187189
if (window.__INITIAL_STATE__) {

0 commit comments

Comments
 (0)