Home
Every link above is an <a x-link>. Each page is a <template x-route>. Watch the address bar and the state below.
Hello,
Matched /hello/:name. The param is in $router.params.name.
User #
The route is /users/:id(\d+), so only digits match.
Search:
Page . The links below come from $router.resolve({ page }).
Not found
No route matched , so x-route.notfound rendered.
Loading template…