wip(compiler-ssr): v-bind with static keys

This commit is contained in:
Evan You
2020-02-04 16:47:12 -05:00
parent e71781dcab
commit c059fc88b9
18 changed files with 189 additions and 92 deletions

View File

@@ -38,7 +38,11 @@ describe('ssr: text', () => {
"const { _interpolate } = require(\\"@vue/server-renderer\\")
return function ssrRender(_ctx, _push, _parent) {
_push(\`<div><span>\${_interpolate(_ctx.foo)} bar</span><span>baz \${_interpolate(_ctx.qux)}</span></div>\`)
_push(\`<div><span>\${
_interpolate(_ctx.foo)
} bar</span><span>baz \${
_interpolate(_ctx.qux)
}</span></div>\`)
}"
`)
})