Skip to content

Commit b304101

Browse files
committed
docs: add astro example to readme
1 parent 7d99d99 commit b304101

File tree

3 files changed

+60
-12
lines changed

3 files changed

+60
-12
lines changed

README.md

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,21 @@ _React Bindings_
6262
- [Nuxt](#nuxt)
6363
- [Live Demo](#live-demo-4)
6464
- [Configuration](#configuration-1)
65-
- [Solid](#solid)
65+
- [Astro](#astro)
66+
- [Important Notes](#important-notes-3)
6667
- [Live Demo](#live-demo-5)
68+
- [Solid](#solid)
69+
- [Live Demo](#live-demo-6)
6770
- [Svelte](#svelte)
6871
- [Vite](#vite-2)
69-
- [Live Demo](#live-demo-6)
70-
- [Sveltekit](#sveltekit)
7172
- [Live Demo](#live-demo-7)
73+
- [Sveltekit](#sveltekit)
74+
- [Live Demo](#live-demo-8)
7275
- [Qwik](#qwik)
73-
- [Live Demo](#live-demo-8)
74-
- [No Framework](#no-framework)
75-
- [Important Notes](#important-notes-3)
7676
- [Live Demo](#live-demo-9)
77+
- [No Framework](#no-framework)
78+
- [Important Notes](#important-notes-4)
79+
- [Live Demo](#live-demo-10)
7780
- [Notes](#notes)
7881
- [TypeScript module augments](#typescript-module-augments)
7982
- [Avatar shortcuts](#avatar-shortcuts)
@@ -307,6 +310,20 @@ export default defineNuxtConfig({
307310
});
308311
```
309312

313+
#### Astro
314+
315+
##### Important Notes
316+
317+
Because it is possible to use different integrations in an Astro project you can
318+
also reference the other examples here. The live demo linked below uses the
319+
[Lit integration for Astro](https://docs.astro.build/en/guides/integrations-guide/lit/)
320+
as well as the
321+
[React integration for Astro](https://docs.astro.build/en/guides/integrations-guide/react/).
322+
323+
##### Live Demo
324+
325+
[![Edit on Stackblitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/skyra-project/discord-components-implementations/tree/main/templates/astro)
326+
310327
#### Solid
311328

312329
##### Live Demo

assets/readme-templates/CORE_USAGE.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,20 @@ export default defineNuxtConfig({
186186
});
187187
```
188188

189+
#### Astro
190+
191+
##### Important Notes
192+
193+
Because it is possible to use different integrations in an Astro project you can
194+
also reference the other examples here. The live demo linked below uses the
195+
[Lit integration for Astro](https://docs.astro.build/en/guides/integrations-guide/lit/)
196+
as well as the
197+
[React integration for Astro](https://docs.astro.build/en/guides/integrations-guide/react/).
198+
199+
##### Live Demo
200+
201+
[![Edit on Stackblitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/skyra-project/discord-components-implementations/tree/main/templates/astro)
202+
189203
#### Solid
190204

191205
##### Live Demo

packages/core/README.md

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,21 @@ _React Bindings_
6363
- [Nuxt](#nuxt)
6464
- [Live Demo](#live-demo-4)
6565
- [Configuration](#configuration-1)
66-
- [Solid](#solid)
66+
- [Astro](#astro)
67+
- [Important Notes](#important-notes-3)
6768
- [Live Demo](#live-demo-5)
69+
- [Solid](#solid)
70+
- [Live Demo](#live-demo-6)
6871
- [Svelte](#svelte)
6972
- [Vite](#vite-2)
70-
- [Live Demo](#live-demo-6)
71-
- [Sveltekit](#sveltekit)
7273
- [Live Demo](#live-demo-7)
74+
- [Sveltekit](#sveltekit)
75+
- [Live Demo](#live-demo-8)
7376
- [Qwik](#qwik)
74-
- [Live Demo](#live-demo-8)
75-
- [No Framework](#no-framework)
76-
- [Important Notes](#important-notes-3)
7777
- [Live Demo](#live-demo-9)
78+
- [No Framework](#no-framework)
79+
- [Important Notes](#important-notes-4)
80+
- [Live Demo](#live-demo-10)
7881
- [Notes](#notes)
7982
- [TypeScript module augments](#typescript-module-augments)
8083
- [Avatar shortcuts](#avatar-shortcuts)
@@ -315,6 +318,20 @@ export default defineNuxtConfig({
315318
});
316319
```
317320

321+
#### Astro
322+
323+
##### Important Notes
324+
325+
Because it is possible to use different integrations in an Astro project you can
326+
also reference the other examples here. The live demo linked below uses the
327+
[Lit integration for Astro](https://docs.astro.build/en/guides/integrations-guide/lit/)
328+
as well as the
329+
[React integration for Astro](https://docs.astro.build/en/guides/integrations-guide/react/).
330+
331+
##### Live Demo
332+
333+
[![Edit on Stackblitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/skyra-project/discord-components-implementations/tree/main/templates/astro)
334+
318335
#### Solid
319336

320337
##### Live Demo

0 commit comments

Comments
 (0)