Menu

1 / 2

I tested my Vue skeleton directive on PrimeVue, Quasar and Element Plus

DEV Community: vue·Navid jaberi·5 days ago
#rL6RKuon
#devtovue#devto#dev#background#color
Long article (827 words) — no AI summary yet.
Reading 0:00
15s threshold

In my previous post , I tested my skeleton directive on Vuetify and Nuxt UI. I ended the post asking people to try it on other component libraries.

I also tested it on PrimeVue, Quasar and Element Plus myself. Two more things broke.

If you haven't seen the directive before, the idea is pretty simple:

<UserCard v-skeleton = "loading" :user = "user" />

Enter fullscreen mode

Exit fullscreen mode

It uses CSS to turn the existing component into its own skeleton instead of maintaining separate loading markup.

The text in my tables disappeared

Element Plus wraps the contents of a table cell in a div.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.