Skip to content

liady/react-webpack-gulp-starter

Repository files navigation

React Minimal Boilerplate

A very lean React boilerplate, using webpack and gulp. Demo

Dev Build + Server

Run the following commands:

$ npm install
$ gulp

Navigate your browser to localhost:8181 to see the results. The files are watched, so all changes are automatically built and served.

Dev Build

Run the following commands:

$ npm install
$ gulp build-dev

The bundled file is created in public/js/bundle.js. The files are watched, so all changes are automatically built. Load public/index.html in the browser to see the results.

Production Build

Run the following commands:

$ npm install
$ gulp build

The bundled file is created in public/js/bundle.js

File structure

public/
    js/
        bundle.js
    index.html
src/
    components/
        Item.js
        List.js
        Root.js
    styles/
        styles.scss
    index.js
gulpfile.js
package.json
webpack.config.getter.js

Included libraries

Pull requests are welcome!

License

MIT

About

Very minimal starter for react and webpack, using gulp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published