in my website i pass params as part of url
like
site.com/post/show/1
site.com/post/show/2
site.com/post/show/3
i tryied this route
var ROUTES = [
{
path: '/post/show/:id/',
url: "site.com/post/show/:id/",
},
];
and my link like
<a href="/post/show/1/"> read post </a>
but when i click it redirects to
instead of
site.com/post/show/1
id doesnt map 1 to :id in url
i looked into docs and couldn’t find anything about this … is that even possible ? or it only works with get parameters like site.com?id=1
?