Skip to content

ChillyBwoy/gears-jsx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gears-jsx

JSX compiler for Gears.

Bundled react-tools version: 0.10.0

Installation

Install gears-jsx with pip:

$ pip install gears-jsx

Requirements

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

About

JSX compiler for Gears

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published