fix(compiler-ssr): handle v-memo in ssr compilation

This commit is contained in:
Evan You 2021-09-17 10:23:06 -04:00
parent 71f22061a6
commit dd9a2760a8

View File

@ -77,6 +77,7 @@ export function compile(
on: noopDirectiveTransform, on: noopDirectiveTransform,
cloak: noopDirectiveTransform, cloak: noopDirectiveTransform,
once: noopDirectiveTransform, once: noopDirectiveTransform,
memo: noopDirectiveTransform,
...(options.directiveTransforms || {}) // user transforms ...(options.directiveTransforms || {}) // user transforms
} }
}) })