Unleashing the Power of Astro

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...

Descripción completa

Detalles Bibliográficos
Autor principal: Piros, Tamas (-)
Formato: Libro electrónico
Idioma:Inglés
Publicado: La Vergne : SitePoint Pty, Limited 2024.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009799142706719
Tabla de Contenidos:
  • Unleashing the Power of Astro
  • Notice of Rights
  • Notice of Liability
  • Trademark Notice
  • About SitePoint
  • About the Author
  • Preface
  • Who Should Read This Book?
  • Conventions Used
  • Supplementary Materials
  • Chapter 1: Getting Started with the Basics of Astro
  • Key Concepts of Astro
  • Getting Started with Astro
  • Project Structure
  • Anatomy of an Astro File
  • Client-side JavaScript vs Build-time JavaScript
  • Styling an Astro Component
  • Demo
  • Conclusion
  • Chapter 2: Rendering Options in Astro: Building a Layout
  • Layouts in Astro
  • Components
  • Routing
  • Server-side Rendering
  • Server-side Rendering Routes
  • Hydration of Interactive Components
  • Demo
  • Conclusion
  • Chapter 3: Fetching and Using Data with Astro
  • Working with GraphQL
  • Data Retrieval from a Server Endpoint
  • Forms
  • Headless CMS
  • Demo
  • Conclusion
  • Chapter 4: Getting Started with Content Collections and View Transitions in Astro
  • Getting Started with Content Collections
  • View Transitions
  • Demo
  • Conclusion
  • Chapter 5: Image Optimization and Deploying Our First Astro Site
  • The Image component
  • Performance
  • Deployment
  • Conclusion.