If you want to have a blog with pagination, this can be one routing example in Qwik:
- src
- routes
- blog
- index.jsx
- [pageNumber]
- index.jsx
And it works for /blog
and /blog/2
URLs.
The problem is that, it also works for /blog/john
and /blog/j!o*hn
too.
In other words, it's not limited to numbers only.
How can I limit route values to specific types only?