This website works better with JavaScript
Почетна
Преглед
Помоћ
Пријавите се
fgm
/
js_react__react-intro
Прати
1
Волим
0
Креирај огранак
0
Датотеке
Дискусије
0
Захтеви за спајање
0
Грана:
master
Гране
Ознаке
master
qunit-demo
thinking-react
tutorial
js_react__react...
/
README.md
README.md
591 B
Пермалинк
Историја
Датотека
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
assuming you didn't change the
serve
URL in
package.json
.
Parts taken from:
http://jslog.com/2014/10/02/react-with-webpack-part-1/
: much more useful than ReactJS "Getting started".