diff options
Diffstat (limited to 'examples/with-markdown/src/pages/index.astro')
-rw-r--r-- | examples/with-markdown/src/pages/index.astro | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/examples/with-markdown/src/pages/index.astro b/examples/with-markdown/src/pages/index.astro index e70e12f35..1cc85c16c 100644 --- a/examples/with-markdown/src/pages/index.astro +++ b/examples/with-markdown/src/pages/index.astro @@ -1,19 +1,19 @@ --- // Component Imports -import { Markdown } from 'astro/components'; -import Layout from '../layouts/main.astro'; -import ReactCounter from '../components/ReactCounter.jsx'; -import PreactCounter from '../components/PreactCounter.tsx'; -import VueCounter from '../components/VueCounter.vue'; -import SvelteCounter from '../components/SvelteCounter.svelte'; +import { Markdown } from "astro/components"; +import Layout from "../layouts/main.astro"; +import ReactCounter from "../components/ReactCounter.jsx"; +import PreactCounter from "../components/PreactCounter.tsx"; +import VueCounter from "../components/VueCounter.vue"; +import SvelteCounter from "../components/SvelteCounter.svelte"; // Component Script: // You can write any JavaScript/TypeScript that you'd like here. // It will run during the build, but never in the browser. // All variables are available to use in the HTML template below. -const title = 'Astro Markdown'; -const variable = 'content'; -const items = ['A', 'B', 'C']; +const title = "Astro Markdown"; +const variable = "content"; +const items = ["A", "B", "C"]; // Full Astro Component Syntax: // https://docs.astro.build/core-concepts/astro-components/ @@ -57,7 +57,7 @@ const items = ['A', 'B', 'C']; Should work! ```js - import Something from './another'; + import Something from "./another"; const thing = new Something(); ``` |