RNMeituan - 使用React Native开发的一个美团小demo

jopen 8年前

RNMeituan

使用React Native开发的一个美团小demo

使用说明:
1.运行前,先关掉终端(可能终端开启了其他的service)

2.初始化工程:

运行工程,如果

报错: Unable to resolve module react-timer-mixin from ***

工程目录下执行:

npm i react-timer-mixin --save

然后关掉终端,重新运行

//这里需要执行一个命令,把包导入npm i react-timer-mixin --save

//var TimerMixin = require('react-timer-mixin');

3.运行工程

打开RNMeituan目录,双击iOS/RNMeituan.xcodeproj 启动工程

也可参考博客: http://blog.csdn.net/l863784757/article/details/50456592

image

image

image

项目地址: https://github.com/lookingstars/RNMeituan