Skip to content

将现有项目迁移到 Astro

准备好将你的网站转换为 Astro 了吗?请参阅我们的一份指南以了解迁移技巧。

¥Ready to convert your site to Astro? See one of our guides for migration tips.

¥Migration Guides

请注意,这些页面中的许多都是存根:它们是资源的集合,等待你的贡献!

¥Note that many of these pages are stubs: they’re collections of resources waiting for your contribution!

为什么要将你的网站迁移到 Astro?

标题部分 为什么要将你的网站迁移到 Astro?

¥Why migrate your site to Astro?

Astro 提供了许多好处:性能、简单性以及你希望直接构建到框架中的许多功能。当你确实需要扩展站点时,Astro 提供了多个 官方和第三方社区集成

¥Astro provides many benefits: performance, simplicity, and many of the features you want built right into the framework. When you do need to extend your site, Astro provides several official and 3rd-party community integrations.

迁移工作可能比你想象的要少!

¥Migrating may be less work than you think!

根据你现有的项目,你也许可以使用现有的:

¥Depending on your existing project, you may be able to use your existing:

我可以将哪些项目转换为 Astro?

标题部分 我可以将哪些项目转换为 Astro?

¥Which projects can I convert to Astro?

许多现有站点都可以使用 Astro 构建。Astro 非常适合你现有的基于内容的网站,例如博客、登陆页面、营销网站和作品集。Astro 与几种流行的无头 CMS 集成,并允许你连接电子商务购物车。

¥Many existing sites can be built with Astro. Astro is ideally suited for your existing content-based sites like blogs, landing pages, marketing sites and portfolios. Astro integrates with several popular headless CMSes, and allows you to connect eCommerce shop carts.

Astro 允许你拥有一个完全静态生成的网站、一个按需渲染路由的动态应用或两者与 完全控制你的项目渲染 的组合,使其成为 SSG 或需要动态获取一些页面数据的网站的绝佳替代品。

¥Astro allows you have a fully statically-generated website, a dynamic app with routes rendered on demand, or a combination of both with complete control over your project rendering, making it a great replacement for SSGs or for sites that need to fetch some page data on the fly.

我的项目设计将如何改变?

标题部分 我的项目设计将如何改变?

¥How will my project design change?

根据你现有的项目,你可能需要以不同的方式思考:

¥Depending on your existing project, you may need to think differently about:

Astro 中文网 - 粤ICP备13048890号