easonchou / react-static-site

An experiment in generating a static site from react

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

An experiment in generating a static site from react


Languages

Language:JavaScript 99.0%Language:CSS 0.9%Language:HTML 0.1%