2021-12-17 13:47:59 +00:00
|
|
|
---
|
2021-12-22 21:11:05 +00:00
|
|
|
import * as Component from '@example/my-component';
|
2021-12-17 13:47:59 +00:00
|
|
|
---
|
|
|
|
|
2021-12-22 21:11:05 +00:00
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width" />
|
|
|
|
<title>Welcome to Astro</title>
|
2022-04-02 17:34:25 +00:00
|
|
|
<style is:global>
|
2021-12-22 21:11:05 +00:00
|
|
|
h {
|
|
|
|
display: block;
|
|
|
|
font-size: 2em;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-block: 0.67em;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
2021-12-17 13:47:59 +00:00
|
|
|
|
2021-12-22 21:11:05 +00:00
|
|
|
<body>
|
|
|
|
<Component.Heading>Welcome to Astro</Component.Heading>
|
|
|
|
<Component.Button>Plain Button</Component.Button>
|
|
|
|
</body>
|
|
|
|
</html>
|