Astro is a modern static site generator that allows developers to build fast, optimized websites—a critical requirement in today’s rapidly evolving ecosystem, where user demands are high. Astro’s story goes back to 2021, when Fred K. Schott released the first version of the framework. At the time of writing this tutorial, Astro is already at version 4 and has seen many amazing features added to it.
Astro has gained popularity over its brief existence, due to:
- its innovative approach to creating websites, which emphasizes performance
- its smooth developer experience
- its ability to blend various other frameworks seamlessly
Astro truly is a force to be reckoned with. In this book, we cover:
- Getting Started with the Basics of Astro, where we'll go over the key concepts, discover what an Astro file looks like, and introduce the demo we'll be using throughout
- Rendering Options in Astro: Building a Layout, which focused on layouts and the various rendering options available at our disposal with Astro.
- Fetching and Using Data with Astro, in which we’ll explore how to retrieve data in Astro.
- Getting Started with Content Collections and View Transitions in Astro, where we'll firstly look at content collections, which empower us to effectively manage our content while also enabling data validation and TypeScript type safety for all the content within an Astro project. We'll also look at View Transitions, available in Astro since version 3.
- Image Optimization and Deploying Our First Astro Site, where we’ll look at the image optimization options offered by Astro, and we’ll learn how to deploy a production-ready site built with Astro.
Płać wygodnie kartą, Klarną, Apple Pay lub Google Pay. Nie jesteś zadowolony? Zawsze masz 14-dniową gwarancję zwrotu pieniędzy. Więcej przeczytasz w naszych warunkach. Masz pytania? Napisz do nas na hello@memmo.org.
Memmo ułatwia naukę – gdziekolwiek jesteś na świecie. U nas znajdziesz podręczniki i sprytne narzędzia do nauki w jednym miejscu: streszczenia, quizy, podcasty i fiszki. A do tego Ted, Twój kumpel do nauki, który odpowie na wszystko, co Cię nurtuje. Ponad 50 000 studentów już tu się uczy – stworzone, byś uczył się szybciej i mniej stresował.