A 4front starter template for React apps. Comes with a gulpfile.js
preconfigured to handle:
- ES6 transpiling and JSX transformations using Babel
- Module bundling with Browserify
- Sass compilation
- Auto-Reload
- Release build that has been minified with UglifyJS
Create a new 4front application from this repo:
4front create-app --template-url https://github.com/4front/react-starterify/archive/master.zip
Start the development sandbox server. This will automatically kick of the gulp watch
task and open a browser window to your personal sandbox URL.
4front dev
This gist was very helpful when figuring out how to configure watchify, browserify, and babelify in the gulpfile. Still more complicated than I would like, but it works.
Licensed under the Apache License, Version 2.0. See (http://www.apache.org/licenses/LICENSE-2.0).