jello-parser-react

1.0.14 • Public • Published

基于jello/fis的react.js编译插件

jello/fis fis-conf.js配置:

	fis.config.merge({
	ext: {
	    jsx: 'js'
	},
	roadmap: {
	    path: [{
	        reg: /^\/static\/js\/(.*)\.jsx$/i,
	        url: '/static/${webname}/${namespace}/jsx/$1',
	        release: '/static/${webname}/${namespace}/jsx/$1',
	        isMod: true
	    }]
	},
	modules: {
	    parser: {
	        jsx: 'react'
	    }
	}
	});

npm安装:

	npm install -g react-tools
	npm install -g jello-parser-react

之后正常部署jello/fis代码并运行即可

Readme

Keywords

Package Sidebar

Install

npm i jello-parser-react

Weekly Downloads

1

Version

1.0.14

License

ISC

Last publish

Collaborators

  • yangtianyu