|
|
@@ -10,7 +10,7 @@ describe('ssr: scopeId', () => {
|
|
|
mode: 'module'
|
|
|
}).code
|
|
|
).toMatchInlineSnapshot(`
|
|
|
- "import { ssrRenderAttrs as _ssrRenderAttrs } from \\"@vue/server-renderer\\"
|
|
|
+ "import { ssrRenderAttrs as _ssrRenderAttrs } from \\"vue/server-renderer\\"
|
|
|
|
|
|
export function ssrRender(_ctx, _push, _parent, _attrs) {
|
|
|
_push(\`<div\${_ssrRenderAttrs(_attrs)} data-v-xxxxxxx><span data-v-xxxxxxx>hello</span></div>\`)
|
|
|
@@ -27,7 +27,7 @@ describe('ssr: scopeId', () => {
|
|
|
}).code
|
|
|
).toMatchInlineSnapshot(`
|
|
|
"import { resolveComponent as _resolveComponent, withCtx as _withCtx, createTextVNode as _createTextVNode } from \\"vue\\"
|
|
|
- import { ssrRenderComponent as _ssrRenderComponent } from \\"@vue/server-renderer\\"
|
|
|
+ import { ssrRenderComponent as _ssrRenderComponent } from \\"vue/server-renderer\\"
|
|
|
|
|
|
export function ssrRender(_ctx, _push, _parent, _attrs) {
|
|
|
const _component_foo = _resolveComponent(\\"foo\\")
|
|
|
@@ -56,7 +56,7 @@ describe('ssr: scopeId', () => {
|
|
|
}).code
|
|
|
).toMatchInlineSnapshot(`
|
|
|
"import { resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode } from \\"vue\\"
|
|
|
- import { ssrRenderComponent as _ssrRenderComponent } from \\"@vue/server-renderer\\"
|
|
|
+ import { ssrRenderComponent as _ssrRenderComponent } from \\"vue/server-renderer\\"
|
|
|
|
|
|
export function ssrRender(_ctx, _push, _parent, _attrs) {
|
|
|
const _component_foo = _resolveComponent(\\"foo\\")
|
|
|
@@ -85,7 +85,7 @@ describe('ssr: scopeId', () => {
|
|
|
}).code
|
|
|
).toMatchInlineSnapshot(`
|
|
|
"import { resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode } from \\"vue\\"
|
|
|
- import { ssrRenderComponent as _ssrRenderComponent } from \\"@vue/server-renderer\\"
|
|
|
+ import { ssrRenderComponent as _ssrRenderComponent } from \\"vue/server-renderer\\"
|
|
|
|
|
|
export function ssrRender(_ctx, _push, _parent, _attrs) {
|
|
|
const _component_foo = _resolveComponent(\\"foo\\")
|