The shell's sym-router configures native AppRouter and publishes route, title and URL options. [navigate] works on controls and explicitly bound links. Browser Back/Forward keeps working. There is one application router; views compose existing imports and conditionals.
Source: {{source}} / selected tab: {{tab}}
Example view selected. Choose Details to switch tabs through a link.
Details view selected. Choose Example to switch tabs through a button.
Route: {{ROUTER/route}} / title: {{ROUTER/title}}
The tabs navigate with [navigate]ROUTER; bind="$: ROUTER/+params" consumes the selected tab from the URL. Route metadata supplies defaults. Reload and Back/Forward preserve the selection.
For path URLs, give every route a pattern such as /tasks/:id and configure the host's SPA fallback. This static example uses query routes.