|
fix: drawer nav highlight froze on the first route
GnNavList captures $route as a one-shot snapshot in setup; vue-router 4 replaces the route object on navigation, so the kit's isRouteActive kept the stale path and Dashboard stayed highlighted everywhere. Compute the active flag ourselves from a reactive useRoute() and let the kit render from item.active; links still SPA-navigate via onSelect + router.push. Dev proxy retargeted to the demo (8022). Co-Authored-By: Claude Code <noreply@anthropic.com> |
|---|
|
|
| panel/frontend/src/App.vue |
|---|
| panel/frontend/vite.config.js |
|---|