【文件属性】:
文件名称:RN-dota2:dota2 APP
文件大小:13.33MB
文件格式:ZIP
更新时间:2021-03-29 12:11:06
JavaScript
react-native-dva-starter
由和驱动的React Native启动器
开始
npm install dva-native-cli -g
dvanative git app
cd app
react-native run-ios # or react-native run-android
非常感谢@ xuan45提供的cli工具 ,请查看该项目以获取更多信息。
进步
dva的内置路由器(不支持react-router v4 )不支持React Native,我们必须集成其他路由器组件,例如Navigator , ExperimentNavigation , react-native-router-flux和react-navigation 。 由于前两个将在react-navigation的风格中贬值,这也是官方推荐的,因此我选择它作为导航器。
在此入门指南中,我