No description
Find a file
2017-07-05 21:24:09 +10:00
public 404.html 2017-07-05 18:58:50 +10:00
src Add <GithubCorner /> component 2017-07-05 21:24:09 +10:00
.gitignore Initial commit 2017-02-02 17:51:24 +00:00
package.json Custom SW config 2017-07-05 21:07:57 +10:00
README.md Update to standard && fix errors 2017-02-21 07:21:26 +10:00
sw-precache-config.js Custom SW config 2017-07-05 21:07:57 +10:00
yarn.lock Custom SW config 2017-07-05 21:07:57 +10:00

🍉 HyperStatic

A not-so-static site boilerplate:

  • Create React App for simplicity
  • Styled Components for component-based css
  • React Router for routing (v4)
  • React Helmet for document titles, descriptions, meta
  • React Snapshot for pre-rendering to static html so it works without Javascript

Standard - JavaScript Style Guide

Get going

git clone https://github.com/jinksi/hyperstatic.git
cd hyperstatic
yarn install
yarn start

Build

yarn build

This will generate static html files for each route into the ./build directory. Ready for deployment!

Thanks

Originally forked from superhighfives/an-almost-static-stack. Check this out if you want a similar starting point for your own project.

Bootstrapped with Create React App.