Skip to content

stamen/react_webpack_starter

Repository files navigation

React + Webpack starter

A very simple boilerplate to kickstart a React project. It uses Webpack to bundle the app to static assets as well as provide a simple development server with hot module replacement.

Setup

npm install

Note: If your not interested in publishing to a Github Page then remove git-directory-deploy from the package.json file.

Develop

npm run dev

If all goes well you should see this.

Build

npm run build

Deploy to Github Page

Be sure you have installed git-directory-deploy.

  1. Create a Github Page branch, git branch gh-pages.
  2. Push the branch, git push origin gh-pages.
  3. Deploy code to Github Page, npm run ghpage.
  4. Go check it out at:
    • User/Organization pages: http://{username}.github.io
    • Project pages: http://{username}.github.io/{repo}

About

A basic react webpack boilerplate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published