/element-react-native

这是一个用纯React-Native 构建的App 项目,界面仿了饿了么主要界面,仅供学习使用。有兴趣的同仁可以下载代码,提出宝贵意见。

Primary LanguageJavaScriptMIT LicenseMIT

element-react-native

A React-Native App Prjt

How To Get Started

run the following command:

1.cd path '/element',then run command 'yarn install' install node_modules eg:

$  cd /Users/example/Desktop/element-react-native/element  
$ yarn install  

2.Run instructions for iOS:

(1)cd path '/element/ios' ,run command 'pod install'

$ pod install 

(2)cd path '/element', run command 'react-native run-ios'

$ react-native run-ios 

--or-- Open element/ios/elementStu.xcworkspace in Xcode or run "xed -b ios" ,Hit the Run button

3.Run instructions for Android: Have an Android emulator running (quickest way to get started), or a device connected;

$ react-native run-android 

如果你遇到问题,请联系我:邮箱1085415288@qq.com

image image

image image image image

image