nuxt / ui

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

How to active HeaderLinks First level when it has some children #1763

Open 850036165 opened 3 weeks ago

850036165 commented 3 weeks ago

Description

I try to use HeaderLinks to to made a navbar but when i went to a sub route, when i check the offical website it is good but when i use myself it can not activate the father route.

image image
benjamincanac commented 3 weeks ago

Have you defined the docs route as parent? https://nuxt.com/docs/guide/directory-structure/pages#nested-routes