You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<i18n-ttag="div"keypath="with_double_slot"><template #a><h1>a</h1></template><template #blaha><h1>b</h1></template><template> test </template></i18n-t>
crashes with
.localservice@runtime.55edb8f4.js:26 TypeError: slotisnotafunctionatvue-i18n.js?v=664abfb0:4857:20atArray.reduce(<anonymous>)
at getInterpolateArg (vue-i18n.js?v=664abfb0:4854:17)
at Proxy.<anonymous> (vue-i18n.js?v=664abfb0:4896:19)
at renderComponentRoot (chunk-GNBNPM2D.js?v=0636b056:8679:17)
at ReactiveEffect.componentUpdateFn [as fn] (chunk-GNBNPM2D.js?v=0636b056:7550:26)
at ReactiveEffect.run (chunk-GNBNPM2D.js?v=0636b056:494:19)
at updateComponent (chunk-GNBNPM2D.js?v=0636b056:7411:18)
at processComponent (chunk-GNBNPM2D.js?v=0636b056:7345:7)
at patch (chunk-GNBNPM2D.js?v=0636b056:6849:11)
console.<computed> @ [email protected]:26
(anonymous) @ chunk-GNBNPM2D.js?v=0636b056:2653
(anonymous) @ App.vue?t=1748009367613:157
(anonymous) @ client.ts:559
(anonymous) @ client.ts:476
(anonymous) @ client.ts:323
queueUpdate @ client.ts:323
await in queueUpdate
(anonymous) @ client.ts:176
handleMessage @ client.ts:174
(anonymous) @ client.ts:91
dispatchEvent @ [email protected]:26
_handleMessage @ [email protected]:26
_0x51e611 @ [email protected]:26
App.vue?t=1748009367613:157 [HMR] Something went wrong during Vue component hot-reload. Full reload required.
(anonymous) @ chunk-GNBNPM2D.js?v=0636b056:2654
(anonymous) @ App.vue?t=1748009367613:157
(anonymous) @ client.ts:559
(anonymous) @ client.ts:476
(anonymous) @ client.ts:323
queueUpdate @ client.ts:323
await in queueUpdate
(anonymous) @ client.ts:176
handleMessage @ client.ts:174
(anonymous) @ client.ts:91
dispatchEvent @ [email protected]:26
_handleMessage @ [email protected]:26
_0x51e611 @ [email protected]:26
Reporting a bug?
crashes with
Expected behavior
It should not crash
Reproduction
https://stackblitz.com/edit/vitejs-vite-2iqhu9uf?file=src%2FApp.vue,src%2Fmain.ts,package.json,package-lock.json
System Info
Screenshot
Additional context
Probably related to #2167 but I have not managed to fix it.
This change in Vue has been merged and released:
vuejs/core#13215
Validations
The text was updated successfully, but these errors were encountered: