summaryrefslogtreecommitdiff
path: root/examples/portfolio-svelte/astro.config.mjs
diff options
context:
space:
mode:
authorGravatar Konstantinos Kostarellis <delight@users.noreply.github.com> 2021-11-02 17:48:00 +0100
committerGravatar GitHub <noreply@github.com> 2021-11-02 12:48:00 -0400
commitb4dbb90b5f7b2b5a707fca13e5f87d8ba1eb2a1e (patch)
tree280ecdd17e8d5bf09625e1270fe46aa8e2ae76c2 /examples/portfolio-svelte/astro.config.mjs
parentc0d9ed832ecf9531ce2dd55699d7c25b775c147a (diff)
downloadastro-b4dbb90b5f7b2b5a707fca13e5f87d8ba1eb2a1e.tar.gz
astro-b4dbb90b5f7b2b5a707fca13e5f87d8ba1eb2a1e.tar.zst
astro-b4dbb90b5f7b2b5a707fca13e5f87d8ba1eb2a1e.zip
Adds a new example template portfolio-svelte (#1667)
- Template is based on svelte components instead of react - Bumps astro version to "^0.21.0-next.0" for portfolio-svelte template Co-authored-by: Konstantinos Kostarellis <Konstantinos.Kostarellis@gmail.com>
Diffstat (limited to 'examples/portfolio-svelte/astro.config.mjs')
-rw-r--r--examples/portfolio-svelte/astro.config.mjs13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/portfolio-svelte/astro.config.mjs b/examples/portfolio-svelte/astro.config.mjs
new file mode 100644
index 000000000..3e7d4acdb
--- /dev/null
+++ b/examples/portfolio-svelte/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} */ ({
+ // Enable the Svelte renderer to support Svelte components.
+ renderers: ['@astrojs/renderer-svelte'],
+});