创建项目
了解如何创建新的 Expo 项目。
系统要求:
🌐 System requirements:
- Node.js(长期支持版)。
- 支持 macOS、Windows(Powershell 和 WSL 2)以及 Linux。
我们建议从 create-expo-app 创建的默认项目开始。默认项目包含示例代码,帮助你快速入门。
🌐 We recommend starting with the default project created by create-expo-app. The default project includes example code to help you get started.
要创建新项目,请运行以下命令:
🌐 To create a new project, run the following command:
Terminal
- npx create-expo-app@latest你可以通过添加
--template选项 来选择不同的模板。
下一步
🌐 Next step
你有一个项目。现在是时候设置你的开发环境,以便你可以开始开发了。
🌐 You have a project. Now it's time to set up your development environment so that you can start developing.