DEV Community

Discussion on: How to build a Router with vanilla JavaScript

Collapse
 
kodnificent profile image
Victor Mbamara 🇳🇬

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.