• Stars
    star
    379
  • Rank 113,004 (Top 3 %)
  • Language
    JavaScript
  • Created almost 10 years ago
  • Updated almost 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An experiment in generating a static site from react

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