Skip to content

A simple single page app boilerplate. Comes with a router and uses plain JavaScript.

Notifications You must be signed in to change notification settings

andzx/simple-single-page-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A simple single page app

A simple single page app boilerplate. Written in plain JavaScript, comes with a router and includes a few example views.

Sample htaccess file

An htaccess file is required when opening a specific page from outside the app.

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.html$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.html [L]
</IfModule>

About

A simple single page app boilerplate. Comes with a router and uses plain JavaScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published