summaryrefslogtreecommitdiff
path: root/examples/component/astro.config.mjs
diff options
context:
space:
mode:
authorGravatar Jonathan Neal <jonathantneal@hotmail.com> 2021-12-17 08:47:59 -0500
committerGravatar GitHub <noreply@github.com> 2021-12-17 08:47:59 -0500
commit033b70a7f8726e1b2cd365cbfe03fbf67a1e6a35 (patch)
tree243ff252f850347c9e19d635281e501125333ff6 /examples/component/astro.config.mjs
parentbd246f0b2dc85ebff9de239cd56ceee362a2f97c (diff)
downloadastro-033b70a7f8726e1b2cd365cbfe03fbf67a1e6a35.tar.gz
astro-033b70a7f8726e1b2cd365cbfe03fbf67a1e6a35.tar.zst
astro-033b70a7f8726e1b2cd365cbfe03fbf67a1e6a35.zip
Add Component Example (#2203)
* Add Component Example * chore(lint): Prettier fix * nit: improve implementation * nit: Update documentation Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'examples/component/astro.config.mjs')
-rw-r--r--examples/component/astro.config.mjs13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/component/astro.config.mjs b/examples/component/astro.config.mjs
new file mode 100644
index 000000000..94846abde
--- /dev/null
+++ b/examples/component/astro.config.mjs
@@ -0,0 +1,13 @@
+// Full Astro Configuration API Documentation:
+// https://docs.astro.build/reference/configuration-reference
+
+// @type-check enabled!
+// VSCode and other TypeScript-enabled text editors will provide auto-completion,
+// helpful tooltips, and warnings if your exported object is invalid.
+// You can disable this by removing "@ts-check" and `@type` comments below.
+
+// @ts-check
+export default /** @type {import('astro').AstroUserConfig} */ ({
+ // Comment out "renderers: []" to enable Astro's default component support.
+ renderers: [],
+});