Fix formatting in Lit README (#7985)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
This commit is contained in:
parent
1283cfd19f
commit
ec06dd9bbb
2 changed files with 10 additions and 1 deletions
5
.changeset/dirty-peaches-rescue.md
Normal file
5
.changeset/dirty-peaches-rescue.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
"@astrojs/lit": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix formatting in Lit README
|
|
@ -79,7 +79,11 @@ customElements.define('my-element', MyElement);
|
||||||
Now, the component is ready to be imported via the Astro frontmatter:
|
Now, the component is ready to be imported via the Astro frontmatter:
|
||||||
|
|
||||||
```astro
|
```astro
|
||||||
// src/pages/index.astro import {MyElement} from '../components/my-element.js';
|
---
|
||||||
|
// src/pages/index.astro
|
||||||
|
import { MyElement } from '../components/my-element.js';
|
||||||
|
---
|
||||||
|
|
||||||
<MyElement />
|
<MyElement />
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue