Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.5更新说明 #13

Open
ckinmind opened this issue Mar 7, 2017 · 2 comments
Open

v1.5更新说明 #13

ckinmind opened this issue Mar 7, 2017 · 2 comments

Comments

@ckinmind
Copy link
Owner

ckinmind commented Mar 7, 2017

v1.5更新说明

  • 本版本增加了mobx的实现方式
  • 目录调整,通过在src/index.js中切换注释来切换两种实现方式
  • mobx实现的代码位于src/mobx中,入口文件是index_mobx.js
  • redux实现的代码位于src/redux中,入口文件是index_redux.js
@ckinmind
Copy link
Owner Author

ckinmind commented Mar 8, 2017

@leglars

  • 可以通过github的pages展示react内容,你将你的react项目打包(npm run build)一般会生成一个index.html和bundle.js, 这个index.html可以直接打开浏览器就能完整运行
  • 具体的创建gh-pages分支的方法你可以参照一个慕课网上的视频教程React实战--打造画廊应用, 这个教程教你完整的实现一个react的demo和创建github pages的方法,你可以参考,我的第一个react项目就是参照这个做的,参考地址:gallery-by-react

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@ckinmind and others