From 6f0587b7734eb22922b95a45862384beb1fcfec7 Mon Sep 17 00:00:00 2001 From: Dan Jutan Date: Mon, 12 Sep 2022 15:21:44 -0400 Subject: [PATCH 01/39] HTML Components section --- src/pages/en/core-concepts/astro-components.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/pages/en/core-concepts/astro-components.md b/src/pages/en/core-concepts/astro-components.md index d5508fbfc33a8..4298f9a078e1e 100644 --- a/src/pages/en/core-concepts/astro-components.md +++ b/src/pages/en/core-concepts/astro-components.md @@ -486,12 +486,22 @@ Note that this approach skips the JavaScript processing, bundling and optimizati Astro detects these JavaScript client-side imports and then builds, optimizes, and adds the JS to the page automatically. ```astro + // ESM import ``` +## HTML Components + +Astro supports using `.html` files instead of `.astro` files for components. These can be imported like Astro components, but don't support Astro features. As such: +- They don't support frontmatter or dynamic expressions. +- Any `