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?

Section titled 为什么要将你的网站迁移到 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?

Section titled 我可以将哪些项目转换为 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 CMSs, and allows you to connect eCommerce shop carts.

Astro 允许你在静态生成的站点和 服务器端渲染(SSR) 之间进行选择,使其成为 SSG 或需要动态获取某些页面数据的站点的绝佳替代品。

¥Astro allows you to choose between a statically-generated site and server-side rendering (SSR), making it a great replacement for SSGs or for sites that need to fetch some page data on the fly.

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

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

¥How will my project design change?

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

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

Astro 中文网 - 粤ICP备13048890号