nuxt / ui

A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.
https://ui.nuxt.com
MIT License
4.08k stars 529 forks source link

UTable - Change default loading to use USkeleton #1515

Closed EvertonWingert closed 6 days ago

EvertonWingert commented 8 months ago

Description

Captura de tela 2024-03-13 195155

Additional context

No response

benjamincanac commented 8 months ago

Have you tried using the #loading-state slot? https://ui.nuxt.com/components/table#loading-state

EvertonWingert commented 8 months ago

Have you tried using the #loading-state slot? https://ui.nuxt.com/components/table#loading-state

Yes, but I couldn't implement it because the loading-state slot is below a tag. If I remove the it works as it should.

https://stackblitz.com/edit/nuxt-starter-coxhng?file=app.vue

benjamincanac commented 6 days ago

Closing this as the Table component has a progress bar for loading: https://ui.nuxt.com/components/table#loading