- Clone this repo.
- Run
npm install
- Start the http-server using
npm run start
. - Open /development.html file in your browser.
You can click on the “Welcome to…” title to see the onClick
event fire.
Live reload will reload modules as you change them in your browser, without having to reload the page. see more
Run npm run live-reload
at a command prompt and open another command prompt and run npm run start
. Open /development.html in your browser and Modify any project file to see in action.
- Run
npm run build
in terminal to generate the bundles in "dist" folder. - Start the http-server using
npm run start
. - Open /production.html file in browser.
This enables you to continuously rebuild your application as you work. This is useful if you prefer a workflow where you are debugging your application as it will appear in production. see more
Run npm run watch
at a command prompt, open another command prompt and run npm run start
. Open /production.html in your browser, modify any project file and refresh page.
This example uses steal-jsx.