This project is first to train with tools like babeljs.io, React, ES6... And then I used it as Boilerplate for my react projects.
$ git clone [email protected]:kiki-le-singe/react-boilerplate.git
$ cd react-boilerplate
$ npm install
$ gulp serve
Then serve the app on localhost:3000
with Browsersync and opens your default browser
$ gulp serve --stub
Makes the same thing that the above command, except that the 'stub' option allows to enabled or not the retrieving of fake datas.
$ gulp test
Runs tests located in /__tests__
.
For now
$ gulp test
doesn't exist (Coming soon). You can to use thekarma start
command. It is useful for debug mode.
$ gulp dist
Coming soon...
$ gulp build
Coming soon...
$ gulp docs
Coming soon...
$ gulp plato
Coming soon...
$ gulp changelog
Coming soon...
A simple and lightweight mixin library for Sass.
A lightweight semantic grid framework for Sass and Bourbon.
By default the root access for the API is http://localhost:3000/api. Available example: http://localhost:3000/api/tools
If you use MongoDB, look at this node modules. It's an convenient admin interface for MongoDB.
Allows you to inspect the React component hierarchy.
Highlight React components on the page.
Contexts allow to pass values through a tree without having to use props.
In React's class model you'll have to explicitly use .bind(this) or arrow functions =>. See also Can't get
this.prop
when use ES6 classes in React and Why this.setState is undefined in React ES6 class?
babelify - Set stage option to 0 for to have all ES7 experimental features
I no longer use the Foundation css framework but in case it can help you.