2
2
3
3
exports [` scopeId compiler support should push scopeId for hoisted nodes 1` ] = `
4
4
"import { createElementVNode as _createElementVNode , toDisplayString as _toDisplayString , createTextVNode as _createTextVNode , openBlock as _openBlock , createElementBlock as _createElementBlock , withScopeId as _withScopeId , pushScopeId as _pushScopeId , popScopeId as _popScopeId } from \\ "vue\\ "
5
- const _withId = /*#__PURE__*/_withScopeId(\\ "test\\ ")
6
5
7
6
_pushScopeId(\\ "test\\ ")
8
7
const _hoisted_1 = /*#__PURE__*/_createElementVNode(\\ "div\\ ", null, \\ "hello\\ ", -1 /* HOISTED */)
9
8
const _hoisted_2 = /*#__PURE__*/_createElementVNode(\\ "div\\ ", null, \\ "world\\ ", -1 /* HOISTED */)
10
9
_popScopeId()
11
10
12
- export const render = /*#__PURE__*/_withId(( _ctx, _cache) => {
11
+ export function render( _ctx, _cache) {
13
12
return (_openBlock (), _createElementBlock (\\" div\\ " , null , [
14
13
_hoisted_1 ,
15
14
_createTextVNode (_toDisplayString (_ctx .foo ), 1 /* TEXT */ ),
@@ -20,9 +19,8 @@ export const render = /*#__PURE__*/_withId((_ctx, _cache) => {
20
19
21
20
exports [` scopeId compiler support should wrap default slot 1` ] = `
22
21
"import { createElementVNode as _createElementVNode , resolveComponent as _resolveComponent , withCtx as _withCtx , openBlock as _openBlock , createBlock as _createBlock , withScopeId as _withScopeId } from \\ "vue\\ "
23
- const _withId = /*#__PURE__*/_withScopeId(\\ "test\\ ")
24
22
25
- export const render = /*#__PURE__*/_withId(( _ctx, _cache) => {
23
+ export function render( _ctx, _cache) {
26
24
const _component_Child = _resolveComponent (\\" Child\\ " )
27
25
28
26
return (_openBlock (), _createBlock (_component_Child , null , {
@@ -36,9 +34,8 @@ export const render = /*#__PURE__*/_withId((_ctx, _cache) => {
36
34
37
35
exports [` scopeId compiler support should wrap dynamic slots 1` ] = `
38
36
"import { createElementVNode as _createElementVNode , resolveComponent as _resolveComponent , withCtx as _withCtx , renderList as _renderList , createSlots as _createSlots , openBlock as _openBlock , createBlock as _createBlock , withScopeId as _withScopeId } from \\ "vue\\ "
39
- const _withId = /*#__PURE__*/_withScopeId(\\ "test\\ ")
40
37
41
- export const render = /*#__PURE__*/_withId(( _ctx, _cache) => {
38
+ export function render( _ctx, _cache) {
42
39
const _component_Child = _resolveComponent (\\" Child\\ " )
43
40
44
41
return (_openBlock (), _createBlock (_component_Child , null , _createSlots ({ _: 2 /* DYNAMIC */ }, [
@@ -64,9 +61,8 @@ export const render = /*#__PURE__*/_withId((_ctx, _cache) => {
64
61
65
62
exports [` scopeId compiler support should wrap named slots 1` ] = `
66
63
"import { toDisplayString as _toDisplayString , createTextVNode as _createTextVNode , createElementVNode as _createElementVNode , resolveComponent as _resolveComponent , withCtx as _withCtx , openBlock as _openBlock , createBlock as _createBlock , withScopeId as _withScopeId } from \\ "vue\\ "
67
- const _withId = /*#__PURE__*/_withScopeId(\\ "test\\ ")
68
64
69
- export const render = /*#__PURE__*/_withId(( _ctx, _cache) => {
65
+ export function render( _ctx, _cache) {
70
66
const _component_Child = _resolveComponent (\\" Child\\ " )
71
67
72
68
return (_openBlock (), _createBlock (_component_Child , null , {
0 commit comments