新版本的 React Native 在调试器工具方面存在一些问题。所以我想用旧的 React Native 版本创建 React Native Expo 项目。
我必须使用旧版本的expo SDK(例如版本46.0.0)
npx create-expo-app StickerSmash
命令。
但是 create-expo-app 的文档很差。 有没有办法指定expo app SDK版本?
将会是:
npx create-expo-app StickerSmash --template blank@sdk-46
如果您想要其他模板,则可以将
blank
替换为其他内容,例如 default
或 tabs
npx create-expo-app StickerSmash --template default@sdk-46