इसे छोड़कर कंटेंट पर जाएं
This is an unmaintained snapshot of the Astro v4 docs. View the latest docs.

Check in: Unit 4 - Layouts

यह कंटेंट अभी तक आपकी भाषा में उपलब्ध नहीं है।

Now that you can build with components, it’s time to create some custom layouts!

In this unit, you’ll build layouts to share common elements and styles across your pages and blog posts.

To do this, you will:

  • Create reusable layout components
  • Pass content to your layouts with <slot />
  • Pass data from Markdown frontmatter to your layouts
  • Nest multiple layouts
योगदान करें

आपके दिमाग में क्या है?

समुदाय