![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ant-design
xiaozhu_personal
github.com/xiaohesong/til
展开
-
react简述,以及rails react的对比。
对于rails中集成react组件有两个比较好的gem可供选择。1. react_rails这个gem相对简单一点,有一个很好的例子可供参考。reactjs-a-guide-for-rails-developers2. react_on_rails这个gem复杂些,对环境要求比较高。环境要求nodejsyarnforeman – gem install foremanrecet_on_r原创 2017-03-05 15:37:07 · 1822 阅读 · 0 评论 -
react使用阿里云对象存储,ali-oss, antd upload to ali-oss
最近写阿里云图片上传,碰到一些小问题,在此总结一下. 项目环境: create-react-app antd node6.1.0 看了阿里云oss对象存储sdk直接采用node 的安装方式.在使用的时候碰到了问题.yield client.put('file', file.url);=> TypeError: fs.createReadStream is not...原创 2017-12-21 13:13:29 · 10243 阅读 · 5 评论