Shared active/exact semantics for a link target against the current path —
data-active stamping (dom.ts) and useMenu() both go through here, so a
Blade-rendered menu and a Vue-rendered menu can never disagree.
Trailing-slash tolerant. exact = same path; active = exact or path prefix
('/' is never a prefix-active catch-all).
Shared active/exact semantics for a link target against the current path —
data-activestamping (dom.ts) and useMenu() both go through here, so a Blade-rendered menu and a Vue-rendered menu can never disagree. Trailing-slash tolerant. exact = same path; active = exact or path prefix ('/' is never a prefix-active catch-all).