From b390cb4882fef9610edb0321f3e735c8d545b4fe Mon Sep 17 00:00:00 2001 From: JounQin Date: Tue, 5 Sep 2017 20:52:44 -0500 Subject: [PATCH] fix typo (#6) It causes SSR issue like https://github.com/vuejs/vue/issues/6353 --- lib/addStylesServer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/addStylesServer.js b/lib/addStylesServer.js index 80112cb2..ab474ff9 100644 --- a/lib/addStylesServer.js +++ b/lib/addStylesServer.js @@ -7,7 +7,7 @@ module.exports = function (parentId, list, isProduction, context) { if (context) { if (!context.hasOwnProperty('styles')) { Object.defineProperty(context, 'styles', { - enumberable: true, + enumerable: true, get: function() { return renderStyles(context._styles) }