Skip to content

Commit 3772334

Browse files
authored
Adds SvelteKit to the frameworks (#1707)
1 parent e61b29a commit 3772334

File tree

4 files changed

+29
-4
lines changed

4 files changed

+29
-4
lines changed

docs/docs.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@
212212
"guides/frameworks/bun",
213213
"guides/frameworks/nextjs",
214214
"guides/frameworks/nodejs",
215-
"guides/frameworks/remix"
215+
"guides/frameworks/remix",
216+
"guides/frameworks/sveltekit"
216217
]
217218
},
218219
{

docs/guides/frameworks/sveltekit.mdx

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: "SvelteKit setup guide"
3+
sidebarTitle: "SvelteKit"
4+
description: "A plugin for SvelteKit to integrate with Trigger.dev."
5+
icon: "s"
6+
---
7+
8+
import Prerequisites from "/snippets/framework-prerequisites.mdx";
9+
10+
This is an community developed Vite plugin from [@cptCrunch_](https://x.com/cptCrunch_) that enables seamless integration between SvelteKit and Trigger.dev by allowing you to use your SvelteKit functions directly in your Trigger.dev projects.
11+
12+
<Prerequisites framework="SvelteKit" />
13+
14+
## Setup
15+
16+
[View setup guide on npm](https://www.npmjs.com/package/vite-plugin-triggerkit)
17+
18+
```bash
19+
npm i vite-plugin-triggerkit
20+
```
21+
22+
<UsefulNextSteps />

docs/guides/introduction.mdx

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
---
2-
title: "Frameworks, guides and examples overview"
2+
title: "Frameworks, guides and examples"
33
sidebarTitle: "Overview"
4-
description: "An ever growing list of guides and examples to help you get setup with Trigger.dev."
4+
description: "A growing list of guides and examples to get the most out of Trigger.dev."
5+
mode: "center"
56
---
67

78
## Frameworks
89

9-
<CardGroup cols={2}>
10+
<CardGroup cols={3}>
1011
<Card title="Bun" img="/images/logo-bun.png" href="/guides/frameworks/bun"/>
1112
<Card title="Next.js" img="/images/logo-nextjs.png" href="/guides/frameworks/nextjs"/>
1213
<Card title="Node.js" img="/images/logo-nodejs.png" href="/guides/frameworks/nodejs"/>
1314
<Card title="Remix" img="/images/logo-remix.png" href="/guides/frameworks/remix"/>
15+
<Card title="SvelteKit" img="/images/logo-svelte.png" href="/guides/frameworks/sveltekit"/>
1416
</CardGroup>
1517

1618

docs/images/logo-svelte.png

6.83 KB
Loading

0 commit comments

Comments
 (0)