Minimize the minimal example (#2508)

This commit is contained in:
Jonathan Neal 2022-01-31 16:28:29 -05:00 committed by GitHub
parent f3dafd33e7
commit f028ce43d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 15 deletions

View file

@ -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.

View file

@ -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>