|
@@ -1,5 +1,17 @@
|
|
# react-intro : Learning ReactJS
|
|
# react-intro : Learning ReactJS
|
|
|
|
|
|
|
|
+## Installing
|
|
|
|
+
|
|
|
|
+- adjust the webpack-dev-server 2 URLs used in `index.html` : `vm:8090` assumes
|
|
|
|
+ we want that server to run on a host called `vm`, but most users will want
|
|
|
|
+ `localhost` instead
|
|
|
|
+- adjust the `dev` script in `package.json` to match those URLs
|
|
|
|
+- `npm install`
|
|
|
|
+- `npm run start`
|
|
|
|
+- browse to [http://vm:8080/index.html](http://vm:8080/index.html) assuming
|
|
|
|
+ you didn't change the `serve` URL in `package.json`.
|
|
|
|
+
|
|
## Parts taken from:
|
|
## Parts taken from:
|
|
|
|
|
|
-- http://jslog.com/2014/10/02/react-with-webpack-part-1/
|
|
+- http://jslog.com/2014/10/02/react-with-webpack-part-1/ : much more useful than
|
|
|
|
+ ReactJS "Getting started".
|