aboutsummaryrefslogtreecommitdiff
path: root/examples/component/index.ts
diff options
context:
space:
mode:
authorGravatar Dan Jutan <danjutan@gmail.com> 2022-09-07 18:16:54 -0400
committerGravatar GitHub <noreply@github.com> 2022-09-07 18:16:54 -0400
commitd6adb67ae4909d790aa44e1d52cfea3e8ad7663f (patch)
tree3b7dc0bd69da90ed290490ec5629898941e19a92 /examples/component/index.ts
parentf165353e7abe9472a6096324154a4801fac46c66 (diff)
downloadastro-d6adb67ae4909d790aa44e1d52cfea3e8ad7663f.tar.gz
astro-d6adb67ae4909d790aa44e1d52cfea3e8ad7663f.tar.zst
astro-d6adb67ae4909d790aa44e1d52cfea3e8ad7663f.zip
chore: update component template (#4540)
Co-authored-by: Nate Moore <nate@astro.build>
Diffstat (limited to 'examples/component/index.ts')
-rw-r--r--examples/component/index.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/component/index.ts b/examples/component/index.ts
new file mode 100644
index 000000000..0e2e94fb2
--- /dev/null
+++ b/examples/component/index.ts
@@ -0,0 +1,6 @@
+// Do not write code directly here, instead use the `src` folder!
+// Then, use this file to export everything you want your user to access.
+
+import MyComponent from './src/MyComponent.astro';
+
+export default MyComponent;