Assuming you have a version of node installed, install nvm
and then close & reopen your terminal.
Install the latest stable version of node:
nvm install node
Fork this react-workshop
repo and create a local clone (be sure to replace YOUR-USERNAME
with your own):
git clone https://github.com/YOUR-USERNAME/react-workshop.git
Copy the 00-start
directory, name it workshop
, and change to it:
cd react-workshop
cp -r 00-start workshop
cd workshop
Install serve
:
npm install -g serve
Run serve
on port 8080
in src
directory:
serve src --port 8080
- Visit http://localhost:8080/ and you should see an empty page
Go to Step 1 - Add core components.