EAS 托管
EAS Hosting 是一种快速部署使用 Expo Router 库和 React Native Web 构建的 Web 项目的服务。
EAS Hosting 目前处于预览阶段。如果你有任何问题或反馈,请发布到我们的 Discord 通道或发送电子邮件至 hosting@expo.dev。
EAS Hosting 是一种快速部署使用 Expo 路由 和 React Native Web 构建的 Web 项目的服务。它与 Expo CLI 无缝集成,允许你自动部署 API 路由、服务器功能和服务器端资源。
¥EAS Hosting is a service for quickly deploying your web projects built using Expo Router and React Native web. It seamlessly integrates with the Expo CLI, allowing you to automate the deployment of API routes, server functions, and server-side assets.
托管服务提供了从 npx create-expo-app
到完整部署的 Web 应用的最快路径,该应用具有 API 路由和服务器功能。
¥Hosting offers the fastest path from npx create-expo-app
to a fully deployed web app with API routes and server functions.
开始使用
¥Get started
在不到一分钟的时间内,从新应用到已部署的网站。
创建别名并将部署提升到生产。
在你的 Web 和服务器代码中使用环境变量。
为你的生产部署设置自定义域。
在 EAS Hosting 仪表板上检查来自 API 路由的请求。
使用 EAS 工作流自动部署。