/react-static-site

An experiment in generating a static site from react

Primary LanguageJavaScript

You can read a detailed explanation of this experiment on my blog.

Setup

After cloning this repo run npm install && bower install to install dependencies

Note: dev/bundle*.js etc have been committed purely to have a complete example. they will be rewritten on run and would normally be git ignored.

Run in dev mode

npm start

Add a new post

  • update paths.js data
  • add md file in posts/ directory

Build for production

npm run-script build-static