fix(compiler-ssr): import helpers from correct packages

This commit is contained in:
Evan You
2020-02-05 11:20:50 -05:00
parent c441e88469
commit 8f6b6690a2
4 changed files with 22 additions and 12 deletions

View File

@@ -51,7 +51,7 @@ describe('ssr: element', () => {
test('<textarea> with dynamic v-bind', () => {
expect(compile(`<textarea v-bind="obj">fallback</textarea>`).code)
.toMatchInlineSnapshot(`
"const { _renderAttrs, _interpolate } = require(\\"vue\\")
"const { _renderAttrs, _interpolate } = require(\\"@vue/server-renderer\\")
return function ssrRender(_ctx, _push, _parent) {
let _temp0