@samitouri / QOS-React-2 / commits / 2ff1b2e9e3

Clarify dependency installation

Split browserify and webpack to separate sections. Remove `babelify` from the webpack section since it's only for browserify

Lovisa Svallingson committed Dec 14, 2015 at 09:28 UTC 2ff1b2e9e355b9932eb559075565741e14b0b6d6
1 file changed +8 -1
docs/docs/getting-started.md
+8 -1
@@ -27,13 +27,20 @@ ReactDOM.render(
27 );
28 ```
29
30 -To install React DOM and build your bundle after installing browserify:
30 +To install React DOM and build your bundle with browserify:
31
32 ```sh
33 $ npm install --save react react-dom babelify babel-preset-react
34 $ browserify -t [ babelify --presets [ react ] ] main.js -o bundle.js
35 ```
36
37 +To install React DOM and build your bundle with webpack:
38 +
39 +```sh
40 +$ npm install --save react react-dom babel-preset-react
41 +$ webpack
42 +```
43 +
44 > Note:
45 >
46 > If you are using ES2015, you will want to also use the `babel-preset-es2015` package.