Andrew Coelho 2f187968fc Fix link пре 10 година
..
modules 4e5eb34864 Change tutorial structure to individual folders for each lesson пре 10 година
README.md 2f187968fc Fix link пре 10 година
index.html 4e5eb34864 Change tutorial structure to individual folders for each lesson пре 10 година
index.js 4e5eb34864 Change tutorial structure to individual folders for each lesson пре 10 година
package.json 4e5eb34864 Change tutorial structure to individual folders for each lesson пре 10 година
webpack.config.js 4e5eb34864 Change tutorial structure to individual folders for each lesson пре 10 година

README.md

Setting up the Project

First you'll need Node.js and the package manager that comes with it: npm.

Once you've got that working, head to the command line where we'll set up our project.

Clone the Tutorial

git clone <tutorial url>
cd react-router-tutorial
cd lessons/01-setting-up
npm install
npm start

Now open up http://localhost:8080

Feel free to poke around the code to see how we're using webpack and npm scripts to run the app.

You should see a "Hello React Router" message in the browser.

Make Some Changes

Open up modules/App.js and change the text to something like "Hello ". The browser automatically reloads with your new code.


Next: Rendering a Router