From 50487e29adc3e74712ceda12b79ddccd2c2592f0 Mon Sep 17 00:00:00 2001 From: Illya <iklymov@gitlab.com> Date: Fri, 4 Aug 2023 21:20:19 +0300 Subject: [PATCH] Workaround missing slots in $scopedSlots in @vue/compat * @vue/compat does not pass slots in $scopedSlots --- patches/@vue+compat+3.2.47.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 patches/@vue+compat+3.2.47.patch diff --git a/patches/@vue+compat+3.2.47.patch b/patches/@vue+compat+3.2.47.patch new file mode 100644 index 0000000000000..20ee26a030895 --- /dev/null +++ b/patches/@vue+compat+3.2.47.patch @@ -0,0 +1,15 @@ +diff --git a/node_modules/@vue/compat/dist/vue.cjs.js b/node_modules/@vue/compat/dist/vue.cjs.js +index 0d10385..d1a5185 100644 +--- a/node_modules/@vue/compat/dist/vue.cjs.js ++++ b/node_modules/@vue/compat/dist/vue.cjs.js +@@ -5877,9 +5877,7 @@ function installCompatInstanceProperties(map) { + const res = {}; + for (const key in i.slots) { + const fn = i.slots[key]; +- if (!fn._ns /* non-scoped slot */) { +- res[key] = fn; +- } ++ res[key] = fn; + } + return res; + }, -- GitLab