mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -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:
|
||||
|
||||
```astro
|
||||
// src/pages/index.astro
|
||||
|
||||
import { MyElement } from '../components/my-element.js';
|
||||
// src/pages/index.astro import {MyElement} from '../components/my-element.js';
|
||||
<MyElement />
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue