I am using Framework7.
I get the posts with php. It works fine. And I can get posts ID like this:
<a href="/single/" id="'.$row['id'].'" >
And I want to use it in Framework7 router when an user click the post:
routes: [
{
path: '/',
url: 'posts.php?id=',
}
]
How can I do that? Or, can I do that?