Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Notifications You must be signed in to change notification settings

windea/RNMeituan

Repository files navigation

RNMeituan

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

React-Native-RNMeituan

使用Objective-C开发的:

美团

糯米

###注 百度糯米官方版:采用少量的xib文件 + 大量的纯代码方式开发的。

高仿糯米版本:采用storyboard创建界面为主方式来开发,跟官方版做区别。

美团官方版:storyboard创建界面为主方式开发。

高仿的美团5.7:以纯代码方式来开发,以作区别。


###运行说明:

首先需要安装好运行React Native的相关环境,

首先需要安装好运行React Native的相关环境,

首先需要安装好运行React Native的相关环境,


使用说明:
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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.8%
  • Objective-C 11.2%
  • Java 5.0%

AltStyle によって変換されたページ (->オリジナル) /