Closed Nomia closed 6 years ago
I think your problem there is because your are setting your base as /mobile
that means that all routes that page handles must start with /mobile
, that said you need either to update your link to point to /mobile/docs
or get rid of the base config altogether
Thanks for you reply @eth0lo ,I'll give it a try, for now, I've implemented the click
in my own way.
Looks like this was solved!
Hi, I love this router coz it looks simple.
But I've got one problem when use page.js in my project yesterday. 1.the option
{click:true}
does'nt work, I know theclick
value is true by default, but it doesn't seem to work in my case, so I set it to true, still doesn't work => When I click thea
tag, the page will refresh. below is the code:index.html
index.js
the build.js file is executed properly.