Expo官网: https://docs.expo.dev/
expo官网默认创建基础项目命令
npx create-expo-app my-app
expo模板项目命令
blank模板 (如果不需要使用ts,去除-typescript即可)
tabs模板
minimal模板
ps:如果不需要使用ts,去除-typescript即可
替换模板 expo-template-xxx
示例:blank ---ts模板
npx create-expo-app -t expo-template-blank-typescript
项目如下图:
![](https://img-blog.csdnimg.cn/img_convert/bf4217f892956fefb484734ba1669d44.jpeg)
blank模板项目
![](https://img-blog.csdnimg.cn/img_convert/91e04aa4599911a26a8d9ff4b5e66244.jpeg)
tabs模板项目
![](https://img-blog.csdnimg.cn/img_convert/358594f38ec71d4a0cf5e83d3b5d6bb3.jpeg)
minimal模板项目