承接 opw/yii2-react 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

opw/yii2-react

最新稳定版本:v0.0.3

Composer 安装命令:

composer require opw/yii2-react

包简介

The React.js library extension for the Yii framework

关键字:

README 文档

README

React.js and JSXTransformer.js Assets

Installation

The preferred way to install this extension is through composer.

Add to the require section of your composer.json file:

"opw/yii2-react": "dev-master"

And run in terminal

composer update

If you see the following error message:

Your requirements could not be resolved to an installable set of packages.

Change in the composer.json file

"minimum-stability": "dev",

And add

"prefer-stable": true,

Usage

Add to assets/AppAsset.php file:

'opw\react\JSXTransformerAsset', // optional
'opw\react\ReactAsset'

For don't use JSXTransformer, use react-tools and add your JSX compiled files in AppAsset.php:

public $js = [
    'build/HelloWorld.js'
];

Further Information

Please, check the React.js site documentation for further information about its configuration options.

Development

Mobilizy
Web & Mobile development
www.mobilizy.com.br

统计信息

  • 总下载量: 3.24k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 11
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-25