Learning ReactJS

Frederic G. MARAND 3ab19cf03b Added running instructions. 10 năm trước cách đây
.eslintrc.js cdc96f9cde First version from https://facebook.github.io/react/docs/getting-started.html 10 năm trước cách đây
.gitignore cdc96f9cde First version from https://facebook.github.io/react/docs/getting-started.html 10 năm trước cách đây
LICENSE 468492dd38 initial commit 10 năm trước cách đây
README.md 3ab19cf03b Added running instructions. 10 năm trước cách đây
index.html cdc96f9cde First version from https://facebook.github.io/react/docs/getting-started.html 10 năm trước cách đây
main.js cdc96f9cde First version from https://facebook.github.io/react/docs/getting-started.html 10 năm trước cách đây
package.json cdc96f9cde First version from https://facebook.github.io/react/docs/getting-started.html 10 năm trước cách đây
webpack.config.js cdc96f9cde First version from https://facebook.github.io/react/docs/getting-started.html 10 năm trước cách đây

README.md

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: