N
Nuxt9mo ago
plex

Nuxt UI Pro: Don't show parent as active link in DashboardSidebarLinks

const links = [
{
label: "Home",
to: "/dashboard",
icon: "i-heroicons-home",
},
{
label: "Inbox",
to: "/dashboard/inbox",
icon: "i-heroicons-inbox",
},
{
label: "Bookmarks",
to: "/dashboard/bookmarks",
icon: "i-heroicons-bookmark-square",
}]
const links = [
{
label: "Home",
to: "/dashboard",
icon: "i-heroicons-home",
},
{
label: "Inbox",
to: "/dashboard/inbox",
icon: "i-heroicons-inbox",
},
{
label: "Bookmarks",
to: "/dashboard/bookmarks",
icon: "i-heroicons-bookmark-square",
}]
How can I prevent that the "Home" link is always shown as active, even if the user is on a different page?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server