Demonstrates Vue Router running in a Lynx environment using createMemoryHistory().
Lynx has no window.location or History API, so the standard createWebHistory() and createWebHashHistory() won't work. createMemoryHistory() keeps all routing state in-process — similar to React Router's MemoryRouter or TanStack Router's memory history.
NavLink.vue— Lynx has no<a>tag, soRouterLink's default rendering doesn't apply. This component usesRouterLink'scustom+v-slotAPI to render native<text>elements with@taphandlers while preservingisActivestate for styling.- Programmatic navigation —
router.push(),router.back()work as expected. - Dynamic route params —
/users/:idwithuseRoute().params.
Install dependencies from the repo root:
pnpm installThen build or run the dev server:
pnpm run dev
# or
pnpm run build