React Native初始化特定版本 [英] React Native init specific version
本文介绍了React Native初始化特定版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将最新项目升级到React Native 0.19,并且视频立即失效.如何创建具有特定版本的新项目?我要在0.18.1版中初始化一个新项目.我做了一些Google搜索,但找不到任何有关此的信息.
I upgraded my latest project to React Native 0.19 and instantly the video no longer works. How can I create a new project with a specific version? I want to init a new project at version 0.18.1. I did some google searches but couldn't find anything about this.
$ react-native init newproject --verbose
我猜我需要在该位置的某个地方添加@ 18.1这个词,但无法正常工作.
I'm guessing I need to add the word @18.1 in there somewhere but can't get that to work.
推荐答案
这应该可以解决问题:
$ react-native init newproject --version X.XX.X
这篇关于React Native初始化特定版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文