Skip to content

Commit 658599c

Browse files
authored
Add readme example
1 parent 33b0644 commit 658599c

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@
44
55
This **[Astro integration](https://astro.build/integrations/)** enables server-side rendering and client-side hydration for your [Lit](https://lit.dev/) custom elements.
66

7+
## How To Use
8+
9+
```javascript
10+
import lit from '@semantic-ui/astro-lit';
11+
12+
export default defineConfig({
13+
integrations: [
14+
lit(), // add lit as integration
15+
],
16+
});
17+
```
18+
719
## License
820

921
MIT

0 commit comments

Comments
 (0)