We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24812a8 commit 649f219Copy full SHA for 649f219
lib/component-normalizer.js
@@ -39,7 +39,9 @@ module.exports = function normalizeComponent (
39
var hook
40
if (moduleIdentifier) { // server build
41
hook = function (context) {
42
- // context is injected if this is a cached call
+ // 2.3 injection
43
+ context = context || (this.$vnode && this.$vnode.ssrContext)
44
+ // 2.2 with runInNewContext: true
45
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
46
context = __VUE_SSR_CONTEXT__
47
}
0 commit comments