React Native美团项目
运行前请参考package.json文件需要的第三方库安装第三方库,或者直接使用npm install命令 安装依赖库(react native 0.51.0版本,最新版本请升级)。 由于项目中使用的navigator被RN官方在0.44版本去除,所以在后面的版本中需要使用库:react-native-deprecated-custom-components。相关知识可以访问navigator报错。
依赖环境安装好后,然后使用命令运行项目:
react-native run-android
react-native run-ios
Copyright (C) 2017
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.