Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 944 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 944 Bytes

About

This is a proof of concept to test how react.js can be used in a web2py applications. Ideas fetched from https://hackernoon.com/reconciling-djangos-mvc-templates-with-react-components-3aa986cf510a#.pvl33zbe1

Installing

Copy this repository into the applications folder of a web2py installation.

To run the webpack example webpack and npm must be installed in the system. Then, from the static/src folder, npm install & webpack must be run

Demoing

  • Simple page is the simplest possible example, not using webpack, converting jsx code on the fly.
  • Index page does the same the simple page, but using webpack, which is the usual way to work with these kind of technologies.
  • Advanced page using an external react component, react-bootstrap-table
  • Forms page using a state store and redux-form