reacthtmlpack
Build a single HTML file into a full-featured, production-ready Single Page Application
Installation
# next is v2.x.x
npm install reacthtmlpack@next --save
# latest is v1.x.x. Docs are under docs/v1.x.x/
Examples
Take an example from react-bootstrap
, you'll have two ways to try it:
With online REPL
- Copy the contents of index.html
- Paste to the left area of the REPL ⇨⇨⇨ https://reacthtmlpack.tomchentw.com
- Click "Submit" and wait ~20s
- Voila! Play aroud with your demo component on the right area!
Run it on your machine
Save index.html
and package.json
into the same directory. You can find it under examples/AlertAutoDismissable
directory. Then,
npm install
npm start
Visit http://localhost:8080/
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request