Skip to main content

JSX compiler for Gears

Project description

gears-jsx
==================

JSX compiler for Gears.

Bundled [react-tools](https://github.com/facebook/react) version: 0.10.0


Installation
------------

Install `gears-jsx` with pip:

$ pip install gears-jsx


Requirements
------------
- [node.js](http://nodejs.org)


Usage
-----

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',
}

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gears-jsx, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size gears_jsx-0.1-py2.7.egg (1.9 MB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size gears-jsx-0.1.tar.gz (1.4 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page