summaryrefslogtreecommitdiff
path: root/examples/framework-multiple/src/pages/index.astro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/framework-multiple/src/pages/index.astro')
-rw-r--r--examples/framework-multiple/src/pages/index.astro71
1 files changed, 35 insertions, 36 deletions
diff --git a/examples/framework-multiple/src/pages/index.astro b/examples/framework-multiple/src/pages/index.astro
index e27a5466d..3864b6430 100644
--- a/examples/framework-multiple/src/pages/index.astro
+++ b/examples/framework-multiple/src/pages/index.astro
@@ -11,41 +11,40 @@ import SvelteCounter from '../components/SvelteCounter.svelte';
// Full Astro Component Syntax:
// https://docs.astro.build/core-concepts/astro-components/
---
+
<html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width">
- <link rel="icon" type="image/x-icon" href="/favicon.ico">
- <link rel="stylesheet" type="text/css" href={Astro.resolve('../styles/global.css')}>
- </head>
- <body>
- <main>
-
- <react.Counter client:visible>
- <h1>Hello React!</h1>
- <p>What's up?</p>
- </react.Counter>
-
- <PreactCounter client:visible>
- <h1>Hello Preact!</h1>
- </PreactCounter>
-
- <SolidCounter client:visible>
- <h1>Hello Solid!</h1>
- </SolidCounter>
-
- <VueCounter client:visible>
- <h1>Hello Vue!</h1>
- </VueCounter>
-
- <SvelteCounter client:visible>
- <h1>Hello Svelte!</h1>
- </SvelteCounter>
-
- <A />
-
- <Renamed />
-
- </main>
- </body>
+ <head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width" />
+ <link rel="icon" type="image/x-icon" href="/favicon.ico" />
+ <link rel="stylesheet" type="text/css" href={Astro.resolve('../styles/global.css')} />
+ </head>
+ <body>
+ <main>
+ <react.Counter client:visible>
+ <h1>Hello React!</h1>
+ <p>What's up?</p>
+ </react.Counter>
+
+ <PreactCounter client:visible>
+ <h1>Hello Preact!</h1>
+ </PreactCounter>
+
+ <SolidCounter client:visible>
+ <h1>Hello Solid!</h1>
+ </SolidCounter>
+
+ <VueCounter client:visible>
+ <h1>Hello Vue!</h1>
+ </VueCounter>
+
+ <SvelteCounter client:visible>
+ <h1>Hello Svelte!</h1>
+ </SvelteCounter>
+
+ <A />
+
+ <Renamed />
+ </main>
+ </body>
</html>