https://github.com/ohager/reactdemo
Collection of examples using ReactJS
https://github.com/ohager/reactdemo
Last synced: about 1 year ago
JSON representation
Collection of examples using ReactJS
- Host: GitHub
- URL: https://github.com/ohager/reactdemo
- Owner: ohager
- License: mit
- Created: 2015-03-10T00:14:36.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-01-08T00:57:13.000Z (over 10 years ago)
- Last Synced: 2025-03-30T10:41:35.204Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 642 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Example Project for ReactJS
A collection of example to demonstrate ReactJS capabalities. It also serves as playground!
Live Demo at https://www.devbutze.com/dojo/react
This project uses
- requirejs, as AMD dependency resolver (also used for minification)
- react, for component driven Web UI
- react-router , for React-based routing
- event-emitter, as event system
- q, as promise API
- jquery, just as dependency, or if you really need it
- jquery.inputmask, jquery plugin for input masking
# Installation
Install [node.js](http://nodejs.org/download/) to get ``npm``.
After successfull installation just call to get all packages
``npm install``
# Build
For starting the jsx-watcher to build modified JSX files continuously just call ``npm run jsx-watch``.
A single JSX run you execute with ``npm run jsx``
To create a javscript bundle simply call ``npm run optimize``.
If you want to make a complete deploy you may use the ``.\build.bat`` script (A Bash shell will follow someday).