From f028ce43d1f41acbc7afd460d42a5293e11694af Mon Sep 17 00:00:00 2001 From: Jonathan Neal Date: Mon, 31 Jan 2022 16:28:29 -0500 Subject: [PATCH] Minimize the minimal example (#2508) --- examples/minimal/astro.config.mjs | 5 ----- examples/minimal/src/pages/index.astro | 14 ++++---------- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/examples/minimal/astro.config.mjs b/examples/minimal/astro.config.mjs index d68cea82c..67c95c240 100644 --- a/examples/minimal/astro.config.mjs +++ b/examples/minimal/astro.config.mjs @@ -1,11 +1,6 @@ // 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. diff --git a/examples/minimal/src/pages/index.astro b/examples/minimal/src/pages/index.astro index 55a5aac89..25f796bf1 100644 --- a/examples/minimal/src/pages/index.astro +++ b/examples/minimal/src/pages/index.astro @@ -1,19 +1,13 @@ --- -// Component imports and setup JavaScript go here! ---- +--- - Welcome to Astro - + Astro - -

Welcome to Astro

+

Astro

- + \ No newline at end of file