[Vuejs]-Vue 3 slots variable is empty for no reason

0👍

Well, it worked if I just loop on $slots with:

<template v-for "keyName in Object.keys($slots)" :key="kayName">

But on vue 2, I remember that when I print $slots I can see every slots inside.
Here in vue 3, I don’t see anything.

Leave a comment