Tailwind Peer class not working while using Vue components
Tailwind Version: 3.4.10 Vue Version: 3.5.3 Vite Verison: 5.4.3 App.vue <script setup lang=”ts”> import ParentComp from “./components/ParentComp.vue”; </script> <template> <ParentComp /> </template> ParentComp.vue <script setup lang=”ts”> import ChildComp from “./ChildComp.vue”; </script> <template> <div class=”peer text-3xl bg-emerald-700″> <ChildComp child-num=”1″ /> <ChildComp child-num=”2″ /> </div> </template> ChildComp.vue <script setup lang=”ts”> const props = defineProps<{ childNum: string }>(); […]
Tailwind’s divide-y with Vue3’s v-for
I’m trying to apply the Tailwind’s divide
to the divs created with the v-for
of the Vue3: