@@ -400,6 +400,20 @@ export function render(_ctx) {
400400} "
401401`;
402402
403+ exports[`compiler: element transform > custom element with dynamic child 1`] = `
404+ "import { createPlainElement as _createPlainElement , txt as _txt , insert as _insert , toDisplayString as _toDisplayString , setText as _setText , renderEffect as _renderEffect , template as _template } from 'vue';
405+ const t0 = _template("<div > ")
406+
407+ export function render(_ctx) {
408+ const n1 = _createPlainElement (" my-custom-element" , null , null , true )
409+ const n0 = t0 ()
410+ const x0 = _txt (n0 )
411+ _insert (n0 , n1 )
412+ _renderEffect (() => _setText (x0 , _toDisplayString (_ctx .msg )))
413+ return n1
414+ } "
415+ `;
416+
403417exports[`compiler: element transform > dynamic component > capitalized version w/ static binding 1`] = `
404418"import { resolveDynamicComponent as _resolveDynamicComponent , createComponentWithFallback as _createComponentWithFallback } from 'vue';
405419
@@ -519,6 +533,57 @@ export function render(_ctx) {
519533} "
520534`;
521535
536+ exports[`compiler: element transform > plain template element 1`] = `
537+ "import { createPlainElement as _createPlainElement , txt as _txt , insert as _insert , toDisplayString as _toDisplayString , setText as _setText , renderEffect as _renderEffect , template as _template } from 'vue';
538+ const t0 = _template("<div > ")
539+
540+ export function render(_ctx) {
541+ const n1 = _createPlainElement (" template" , null , null , true )
542+ const n0 = t0 ()
543+ const x0 = _txt (n0 )
544+ _insert (n0 , n1 )
545+ _renderEffect (() => _setText (x0 , _toDisplayString (_ctx .msg )))
546+ return n1
547+ } "
548+ `;
549+
550+ exports[`compiler: element transform > plain template element with dynamic text child 1`] = `
551+ "import { createPlainElement as _createPlainElement , insert as _insert , toDisplayString as _toDisplayString , setText as _setText , renderEffect as _renderEffect , template as _template } from 'vue';
552+ const t0 = _template("")
553+
554+ export function render(_ctx) {
555+ const n1 = _createPlainElement (" template" , null , null , true )
556+ const n0 = t0 ()
557+ _insert (n0 , n1 )
558+ _renderEffect (() => _setText (n0 , _toDisplayString (_ctx .msg )))
559+ return n1
560+ } "
561+ `;
562+
563+ exports[`compiler: element transform > plain template element with static child 1`] = `
564+ "import { createPlainElement as _createPlainElement , insert as _insert , template as _template } from 'vue';
565+ const t0 = _template("<div >hi")
566+
567+ export function render(_ctx) {
568+ const n1 = _createPlainElement (" template" , null , null , true )
569+ const n0 = t0 ()
570+ _insert (n0 , n1 )
571+ return n1
572+ } "
573+ `;
574+
575+ exports[`compiler: element transform > plain template element with static text child 1`] = `
576+ "import { createPlainElement as _createPlainElement , insert as _insert , template as _template } from 'vue';
577+ const t0 = _template("hello")
578+
579+ export function render(_ctx) {
580+ const n1 = _createPlainElement (" template" , null , null , true )
581+ const n0 = t0 ()
582+ _insert (n0 , n1 )
583+ return n1
584+ } "
585+ `;
586+
522587exports[`compiler: element transform > props + child 1`] = `
523588"import { template as _template } from 'vue';
524589const t0 = _template("<div id =foo><span>", true)
0 commit comments