Skip to content

Sammeeey/vanilla-spa-router

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vanilla-spa-router

A vanilla js solution to routing for a single-page application

Try it out

Clone this repo to your machine and start it up in a live server. VSCode has a good extension for this. Then visit the site at localhost on the port your server is running on.

I also created a codesandbox you can try out here. You'll have to refresh the preview browser on first load, but it will work just the same otherwise.

About

A super simple solution to basic SPA routing in a vanilla JS web app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 68.7%
  • CSS 19.3%
  • JavaScript 12.0%