0.0.0-beta.1 • Published 5 years ago
eagel-template-compiler v0.0.0-beta.1
eagel-template-compiler
Transform JSX styled Rax Components into eagel data.
example
input:
import { Component } from 'rax';
import A from './components/A';
import './index.css';
export default class extends Component {
render() {
return (<view>hello world</view>);
}
}
run
const compile = require('eagel-template-compiler');
const output = compile(code, { filePath, rootContext: cwd });
output ref:
0.0.0-beta.1
5 years ago
0.0.0-beta.0
5 years ago