This is an example which demonstrates how routing is done under the hood by all frameworks such Vue,React etc with vanilla JavaScript. This is a Single Page application which uses only vanilla JS and Browsers Web History API to do routing.
To get you started you can simply clone the repository:
git clone https://github.com/Rajdeepc/routing-with-js.git
You need git to clone the repository. You can get git from http://git-scm.com/.
npm install -g lite-server
To Run Locally Steps to follow:
lite-server
This project is licensed under the GPL License - see the LICENSE.md file for details