generator-react-sandbox-server
v0.0.4
Published
Yeoman React dev server scaffolder
Downloads
12
Readme
generator-react-sandbox-server
Scaffolder of simple React app, backed by dummy Express API.
Usage
In case you don't have yo
:
npm install -g yo
Get generator
:
npm install -g generator-react-sandbox-server
Scaffold your app (you don't have to create root folder by yourself, scaffolder will do it for you):
yo react-sandbox-server
# or specify name right here
yo react-sandbox-server my-app
# `myApp` or `my_app` will be converted to `my-app` for consistency
Navigate to the app folder and run hot reloadable dev server:
cd my-app
npm start
Point your browser to http://lvh.me:4000
. That's all!
License
It's MIT.