Introducing Content Collections: Type-Safe Markdown in Astro 2.0

2023-01-25来源 Astro BlogEnglish
New in Astro 2.0: Content Collections deliver a better developer experience for working with local content like Markdown and MDX. Powered by TypeScript, your local content is now automatically typed and validated for you against a schema so that you never miss or misspell another frontmatter property name again.

原文:https://www.a8q9.cn/en/article/introducing-content-collections-type-safe-markdown-in-astro-2-0-79d98d.html

相关文章