https://github.com/floatdrop/plugin-jsx
JSX loader plugin
https://github.com/floatdrop/plugin-jsx
Last synced: about 1 year ago
JSON representation
JSX loader plugin
- Host: GitHub
- URL: https://github.com/floatdrop/plugin-jsx
- Owner: floatdrop
- License: mit
- Created: 2014-12-09T16:28:40.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-02-04T11:55:40.000Z (over 10 years ago)
- Last Synced: 2025-03-07T13:16:09.950Z (about 1 year ago)
- Language: JavaScript
- Size: 20.5 KB
- Stars: 36
- Watchers: 3
- Forks: 10
- Open Issues: 6
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# plugin-jsx [](https://travis-ci.org/floatdrop/plugin-jsx)
> JSX loader plugin for [jspm](https://jspm.io)
__Deprecation:__ [Use babel](http://facebook.github.io/react/blog/2015/06/12/deprecating-jstransform-and-react-tools.html).
This plugin will translate JSX templates to JS.
To use it you should install it with jspm:
```
jspm install jsx
```
After that you can include JSX templates in your modules:
```js
var Component = require('component.jsx!');
```
### Tests
```bash
npm install
npm test
```