首先是创建项目:

npx create-expo-app@latest

这样创建完,默认是ts的,如果要用js,就使用:

npx create-expo-app --template blank

会创建一个基于js的基本的项目

最后编辑:2024年09月16日 ©著作权归作者所有

发表评论