From 97a87e2d3cf46f54e56e3d3e1f398e77de2be5b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renato=20de=20Le=C3=A3o?= Date: Tue, 27 Dec 2022 15:39:10 +0000 Subject: [PATCH 1/2] docs(migration): slots scope being exposed as "params" instead of "props --- docs/migration/index.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/migration/index.md b/docs/migration/index.md index 5dc47c3a2..656e973cf 100644 --- a/docs/migration/index.md +++ b/docs/migration/index.md @@ -217,6 +217,20 @@ Vue 3 renamed the `vm.$destroy` to `vm.$unmount`. Vue Test Utils has followed su Vue 3 united the `slot` and `scoped-slot` syntax under a single syntax, `v-slot`, which you can read about in the [the docs](https://v3.vuejs.org/guide/migration/slots-unification.html#overview). Since `slot` and `scoped-slot` are now merged, the `scopedSlots` mounting option is now deprecated - just use the `slots` mounting option for everything. +### `slots`‘s scope is now exposed as `params` + +When using string templates for slot content, if not explicitly defined using a wrapping `