1.0.0 • Published 8 years ago

hello-world-component v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

react-webpack-boilerplate

A boilerplate project that uses react and webpack.

Installation

If you haven't globally installed webpack and webpack-dev-server:

$ npm install webpack -g
$ npm install webpack-dev-server -g

Clone the repository and install the dependencies.

$ git clone https://github.com/coltonmorris/react-webpack-boilerplate.git
$ npm install

Run webpack-dev-server then open localhost:8080/webpack-dev-server/src/index.html

$ webpack
$ webpack-dev-server

Information

  • React components are written in ES6.
  • src/index.js is the entry point.
  • dist/ is where webpack writes bundle.js.