【文件属性】:
文件名称:React-native_Meteor_App
文件大小:152KB
文件格式:ZIP
更新时间:2021-04-30 08:31:12
JavaScript
React-native_Meteor_App
这是一个最简单的示例,它显示了react-native和流星是如何协同工作的,它仅包含用户登录,注册和注销功能。
入门
克隆仓库:git clone
从MeteorApp目录运行meteor npm install
从RNDemo目录运行npm install
在iOS模拟器上运行
确保您的Meteor应用程序正在运行:在MeteorApp目录中,键入meteor
从RNDemo目录运行react-native run-ios
在iOS设备上运行
确保您的Meteor应用程序正在运行:在MeteorApp目录中,键入meteor
获取您计算机的IP地址(您可以运行ipconfig getifaddr en1来执行此操作)
在RNDemo/src/config/settings.js将IP更改为机器的IP地址
将设备插入计算机(
【文件预览】:
React-native_Meteor_App-master
----RNDemo()
--------ios()
--------.babelrc(34B)
--------index.js(124B)
--------.watchmanconfig(2B)
--------android()
--------.flowconfig(1KB)
--------package.json(574B)
--------__tests__()
--------app.json(49B)
--------src()
--------.gitignore(763B)
--------App.js(1KB)
--------.buckconfig(114B)
--------.gitattributes(16B)
----version.json(127B)
----MeteorApp()
--------client()
--------server()
--------package.json(182B)
--------.meteor()
--------.gitignore(14B)
----README.md(2KB)