An open API service indexing awesome lists of open source software.

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

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