0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

Fix formatting in Lit README (#7985)

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
This commit is contained in:
Chris Swithinbank 2023-08-07 20:03:09 +02:00 committed by GitHub
parent 1283cfd19f
commit ec06dd9bbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
"@astrojs/lit": patch
---
Fix formatting in Lit README

View file

@ -79,7 +79,11 @@ customElements.define('my-element', MyElement);
Now, the component is ready to be imported via the Astro frontmatter:
```astro
// src/pages/index.astro import {MyElement} from '../components/my-element.js';
---
// src/pages/index.astro
import { MyElement } from '../components/my-element.js';
---
<MyElement />
```