[feat] URL hash for navigation items

when i click on an item in a navigation component, i can set the hash params for the URL when i use custom type, but then i lose the highlighting of that item when i'm on its app/page.

i'd love to specify the URL params for an app/page from inside the navigation item, without losing the active coloring.

like these options, but for navigation:

sad current state:

Here is an implementation for non multi-page apps:

I have not implemented it on multi-page yet but although the appName wouldn't change, we could get the name of the app doing something like:

{{ url.href.split("/").reverse()[0] }}

1 Like