Closed jamesscottbrown closed 2 weeks ago
Currently a NavLink to the homepage (/ route) of an app will never be highlighted when the app is deployed in production, as URLs have the structure /<app-name>/route rather than just /route, so $page.url?pathname will not match /.
NavLink
/
/<app-name>/route
/route
$page.url?pathname
Currently a
NavLink
to the homepage (/
route) of an app will never be highlighted when the app is deployed in production, as URLs have the structure/<app-name>/route
rather than just/route
, so$page.url?pathname
will not match/
.