https://github.com/rajdeepc/routing-with-js
A simple routing SPA application with vanilla javaScript - no frameworks used
https://github.com/rajdeepc/routing-with-js
browser frontend html5 routing routing-example spa vanilla vanilla-javascript
Last synced: 4 months ago
JSON representation
A simple routing SPA application with vanilla javaScript - no frameworks used
- Host: GitHub
- URL: https://github.com/rajdeepc/routing-with-js
- Owner: Rajdeepc
- License: mit
- Created: 2019-10-26T19:39:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-26T19:49:32.000Z (about 6 years ago)
- Last Synced: 2025-06-20T17:52:05.816Z (7 months ago)
- Topics: browser, frontend, html5, routing, routing-example, spa, vanilla, vanilla-javascript
- Language: HTML
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## SPA Routing Example with Vanilla JS
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.
### Getting Started
To get you started you can simply clone the repository:
```
git clone https://github.com/Rajdeepc/routing-with-js.git
```
### Prerequisites
You need git to clone the repository. You can get git from
[http://git-scm.com/](http://git-scm.com/).
#### Install lite-server
```
npm install -g lite-server
```
### Run in Local
To Run Locally Steps to follow:
```
lite-server
```
### Built With
* [Vanilla JS]()
* [Web History API](https://developer.mozilla.org/en-US/docs/Web/API/History_API)
### License
This project is licensed under the GPL License - see the [LICENSE.md](LICENSE.md) file for details