SolidJSS
SolidJSโ€ข8mo agoโ€ข
5 replies
Mr Void

How to have active Anchor for "sibling" URL?

<A href="/abc/def/1" activeClass="activeLink">[1]</A>


when url is /abc/def/1, the anchor has active link class, but not on /abc/def/<N>

how can this be achieved?

Using FileRoutes:
/abc/[def]/[N].tsx
Was this page helpful?