Ractive React Riot & Redux Counters Example. Also utilises bootstrap, babel, immutable, and webpack.
To start the development server with hot reloading enabled, simply run
npm start
+-- ractive
| app.html
| app.js
| +-- components
| | CounterLabel.js
| | EventButton.js
| | +-- views
| | | counter-label.html
| | | event-button.html
+-- react
| AppContainer.jsx
| index.jsx
| +-- components
| | CounterLabel.jsx
| | EventButton.jsx
+-- redux
| counters.js
| store.js
+-- riot
| main.js
| riot-app.tag
| +-- tags
| | counter-label.tag
| | event-button.tag
To deploy the app to gh-pages, there are a couple of steps to follow.
- Run
webpack
command. This will create abundle.js
andbundle.js.map
file in the dist folder. - Delete everything except dist folder.
- Empty contents of dist folder to root directory.
- Commit and push to gh-pages.