4 Replies
Hi @Uchuu. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Based on the knowledge sources, a common reason for nothing showing in your dashboard panel when using the Nuxt UI Pro components is that the
UDashboardPanel
component requires content to be provided via its slots. If you do not provide any content in the header
, body
, footer
, or default slot, the panel will render but appear empty.
For example, this will show an empty panel:
To display content, you should use one of the available slots, such as body
:
Or use the default slot if you want to bypass the scrollable body with padding:
If you are using the header
slot (commonly with UDashboardNavbar
), make sure you also provide content for the body
or default slot, or else the panel will still appear empty except for the header area DashboardPanel Usage.
If you continue to see nothing, double-check that your panel is not hidden by a class (e.g., class="hidden"
) and that it is placed inside a UDashboardGroup
as recommended for layout context DashboardGroup Usage.
If you provide your code, I can help you identify the specific issue.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@1035470271441805353> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
layouts/dashboard.vue
pages/dashboard/index.vue
pages/dashboard.vue
@kapa.aiLet me check the knowledge base for you again. One moment! :books:
Sorry @Uchuu, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?