mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
[ci] format
This commit is contained in:
parent
f65756f661
commit
57424b7db9
1 changed files with 1 additions and 3 deletions
|
@ -79,9 +79,7 @@ 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
|
// src/pages/index.astro import {MyElement} from '../components/my-element.js';
|
||||||
|
|
||||||
import { MyElement } from '../components/my-element.js';
|
|
||||||
<MyElement />
|
<MyElement />
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue