|
@@ -26,7 +26,7 @@ export function render(_ctx) {
|
|
|
`;
|
|
`;
|
|
|
|
|
|
|
|
exports[`compile > custom directive > component 1`] = `
|
|
exports[`compile > custom directive > component 1`] = `
|
|
|
-"import { resolveComponent as _resolveComponent, resolveDirective as _resolveDirective, setInsertionState as _setInsertionState, createComponentWithFallback as _createComponentWithFallback, withVaporDirectives as _withVaporDirectives, createIf as _createIf, template as _template } from 'vue';
|
|
|
|
|
|
|
+"import { resolveComponent as _resolveComponent, resolveDirective as _resolveDirective, setInsertionState as _setInsertionState, createComponentWithFallback as _createComponentWithFallback, withVaporDirectives as _withVaporDirectives, insert as _insert, createIf as _createIf, template as _template } from 'vue';
|
|
|
const t0 = _template("<div></div>")
|
|
const t0 = _template("<div></div>")
|
|
|
|
|
|
|
|
export function render(_ctx) {
|
|
export function render(_ctx) {
|
|
@@ -41,6 +41,7 @@ export function render(_ctx) {
|
|
|
_setInsertionState(n3)
|
|
_setInsertionState(n3)
|
|
|
const n2 = _createComponentWithFallback(_component_Bar)
|
|
const n2 = _createComponentWithFallback(_component_Bar)
|
|
|
_withVaporDirectives(n2, [[_directive_hello, void 0, void 0, { world: true }]])
|
|
_withVaporDirectives(n2, [[_directive_hello, void 0, void 0, { world: true }]])
|
|
|
|
|
+ _insert(n2, n3)
|
|
|
return n3
|
|
return n3
|
|
|
})
|
|
})
|
|
|
return n0
|
|
return n0
|
|
@@ -149,7 +150,7 @@ export function render(_ctx, $props, $emit, $attrs, $slots) {
|
|
|
`;
|
|
`;
|
|
|
|
|
|
|
|
exports[`compile > directives > v-pre > should not affect siblings after it 1`] = `
|
|
exports[`compile > directives > v-pre > should not affect siblings after it 1`] = `
|
|
|
-"import { resolveComponent as _resolveComponent, setInsertionState as _setInsertionState, createComponentWithFallback as _createComponentWithFallback, child as _child, toDisplayString as _toDisplayString, setText as _setText, setProp as _setProp, renderEffect as _renderEffect, template as _template } from 'vue';
|
|
|
|
|
|
|
+"import { resolveComponent as _resolveComponent, setInsertionState as _setInsertionState, createComponentWithFallback as _createComponentWithFallback, child as _child, prepend as _prepend, toDisplayString as _toDisplayString, setText as _setText, setProp as _setProp, renderEffect as _renderEffect, template as _template } from 'vue';
|
|
|
const t0 = _template("<div :id=\\"foo\\"><Comp></Comp>{{ bar }}</div>")
|
|
const t0 = _template("<div :id=\\"foo\\"><Comp></Comp>{{ bar }}</div>")
|
|
|
const t1 = _template("<div> </div>")
|
|
const t1 = _template("<div> </div>")
|
|
|
|
|
|
|
@@ -160,6 +161,7 @@ export function render(_ctx, $props, $emit, $attrs, $slots) {
|
|
|
_setInsertionState(n3, 0)
|
|
_setInsertionState(n3, 0)
|
|
|
const n1 = _createComponentWithFallback(_component_Comp)
|
|
const n1 = _createComponentWithFallback(_component_Comp)
|
|
|
const n2 = _child(n3)
|
|
const n2 = _child(n3)
|
|
|
|
|
+ _prepend(n3, n1)
|
|
|
_renderEffect(() => {
|
|
_renderEffect(() => {
|
|
|
_setText(n2, _toDisplayString(_ctx.bar))
|
|
_setText(n2, _toDisplayString(_ctx.bar))
|
|
|
_setProp(n3, "id", _ctx.foo)
|
|
_setProp(n3, "id", _ctx.foo)
|