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 ⭐️
yarn install
yarn start
yarn build
This will generate static html files for each route into the ./build
directory. Ready for deployment!
Tweaked from hyperstatic 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.