JSX compiler for Gears.
Bundled react-tools version: 0.10.0
Install gears-jsx
with pip:
$ pip install gears-jsx
Add gears_jsx.JSXCompiler
to environment
's compilers registry:
from gears_jsx import JSXCompiler
environment.compilers.register('.jsx', JSXCompiler.as_handler())
If you use Gears in your Django project, add this code to its settings:
GEARS_COMPILERS = {
'.jsx': 'gears_jsx.JSXCompiler',
}