loading...

re: How to build a Router with vanilla JavaScript VIEW POST

FULL DISCUSSION
 

I can't make it to work. Any route I navigate send me to a Not Found (404) page. What am I missing? Thanks.

 

This is because you need to setup a router from the serverside that routes all request to the server to a single page. Then take over the routing with javascript.

Code of Conduct Report abuse