34 lines
1,021 B
Markdown
34 lines
1,021 B
Markdown
# 🍉 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 ⭐️
|
|
|
|
[](http://standardjs.com/)
|
|
|
|
## Get going
|
|
|
|
``` shell
|
|
git clone https://github.com/jinksi/hyperstatic.git
|
|
cd hyperstatic
|
|
yarn install
|
|
yarn start
|
|
```
|
|
|
|
## Build
|
|
|
|
``` shell
|
|
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](https://github.com/superhighfives/an-almost-static-stack). Check this out if you want a similar starting point for your own project.
|
|
|
|
Bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
|