diff options
author | 2022-01-31 16:28:29 -0500 | |
---|---|---|
committer | 2022-01-31 16:28:29 -0500 | |
commit | f028ce43d1f41acbc7afd460d42a5293e11694af (patch) | |
tree | c760a3a18820129d17818935f5602818faaf63a8 | |
parent | f3dafd33e79cfe26134a95f6cfbde3ceb40b1d11 (diff) | |
download | astro-f028ce43d1f41acbc7afd460d42a5293e11694af.tar.gz astro-f028ce43d1f41acbc7afd460d42a5293e11694af.tar.zst astro-f028ce43d1f41acbc7afd460d42a5293e11694af.zip |
Minimize the minimal example (#2508)
-rw-r--r-- | examples/minimal/astro.config.mjs | 5 | ||||
-rw-r--r-- | 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! ---- +--- <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width" /> - <title>Welcome to Astro</title> - <style> - /* scoped CSS styles go here: */ - /* h1 { ... } */ - </style> + <title>Astro</title> </head> - <body> - <h1>Welcome to <a href="https://astro.build/">Astro</a></h1> + <h1>Astro</h1> </body> -</html> +</html>
\ No newline at end of file |