ReactHero
Tools to get started with react quickly
Install
$ npm install react-hero --save
Usage
Create Server
Create HTML file
You must have and index.html file in the current directory
$ touch index.html
Start Server
const ReactHero = ; ReactHero
Reference the server and output file in your HTML file
...
NOTE: Make sure host, port, and outputFile match what was passed to
.createServer(...)
View the html file
Visit http://localhost:8080
NOTE: Make sure host and port are the ones specified when creating the server
Create Distribution File
const ReactHero = ; ReactHero