From 32b5a43fddc2c2a63347dc10208d9a19555f32a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Romain?= Date: Mon, 15 May 2017 19:46:23 +0200 Subject: [PATCH] Fix: missing `require('vue-server-renderer').` --- en/basic.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/basic.md b/en/basic.md index bc50f593..3f4bfa98 100644 --- a/en/basic.md +++ b/en/basic.md @@ -94,7 +94,7 @@ Notice the `` comment -- this is where your app's markup wi We can then read and pass the file to the Vue renderer: ``` js -const renderer = createRenderer({ +const renderer = require('vue-server-renderer').createRenderer({ template: require('fs').readFileSync('./index.template.html', 'utf-8') })