summaryrefslogtreecommitdiff
path: root/examples/component/demo
diff options
context:
space:
mode:
authorGravatar Jonathan Neal <jonathantneal@hotmail.com> 2022-01-31 16:27:09 -0500
committerGravatar GitHub <noreply@github.com> 2022-01-31 16:27:09 -0500
commit4e43ae5d76676b8878bcc345d60434eb11036e9a (patch)
tree5dfba37f1e96ee74a7c7b330cb631d03f3caf1d2 /examples/component/demo
parent11841d17b7c88a4faebb761c0fbb8d4f0258f239 (diff)
downloadastro-4e43ae5d76676b8878bcc345d60434eb11036e9a.tar.gz
astro-4e43ae5d76676b8878bcc345d60434eb11036e9a.tar.zst
astro-4e43ae5d76676b8878bcc345d60434eb11036e9a.zip
Fix Astro Components example (#2507)
Diffstat (limited to 'examples/component/demo')
-rw-r--r--examples/component/demo/astro.config.mjs13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/component/demo/astro.config.mjs b/examples/component/demo/astro.config.mjs
new file mode 100644
index 000000000..d68cea82c
--- /dev/null
+++ b/examples/component/demo/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: [],
+});