Skip to content

Adds SvelteKit to the docs frameworks #1707

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@
"guides/frameworks/bun",
"guides/frameworks/nextjs",
"guides/frameworks/nodejs",
"guides/frameworks/remix"
"guides/frameworks/remix",
"guides/frameworks/sveltekit"
]
},
{
Expand Down
22 changes: 22 additions & 0 deletions docs/guides/frameworks/sveltekit.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: "SvelteKit setup guide"
sidebarTitle: "SvelteKit"
description: "A plugin for SvelteKit to integrate with Trigger.dev."
icon: "s"
---

import Prerequisites from "/snippets/framework-prerequisites.mdx";

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Fix grammar in the description.

Change "an community" to "a community" as the word "community" starts with a consonant sound.

-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.
+This is a 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.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
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.
This is a 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.
🧰 Tools
🪛 LanguageTool

[misspelling] ~10-~10: Use “a” instead of ‘an’ if the following word doesn’t start with a vowel sound, e.g. ‘a sentence’, ‘a university’.
Context: .../framework-prerequisites.mdx"; This is an community developed Vite plugin from [@...

(EN_A_VS_AN)


<Prerequisites framework="SvelteKit" />

## Setup

[View setup guide on npm](https://www.npmjs.com/package/vite-plugin-triggerkit)

```bash
npm i vite-plugin-triggerkit
```

<UsefulNextSteps />
8 changes: 5 additions & 3 deletions docs/guides/introduction.mdx
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
---
title: "Frameworks, guides and examples overview"
title: "Frameworks, guides and examples"
sidebarTitle: "Overview"
description: "An ever growing list of guides and examples to help you get setup with Trigger.dev."
description: "A growing list of guides and examples to get the most out of Trigger.dev."
mode: "center"
---

## Frameworks

<CardGroup cols={2}>
<CardGroup cols={3}>
<Card title="Bun" img="/images/logo-bun.png" href="/guides/frameworks/bun"/>
<Card title="Next.js" img="/images/logo-nextjs.png" href="/guides/frameworks/nextjs"/>
<Card title="Node.js" img="/images/logo-nodejs.png" href="/guides/frameworks/nodejs"/>
<Card title="Remix" img="/images/logo-remix.png" href="/guides/frameworks/remix"/>
<Card title="SvelteKit" img="/images/logo-svelte.png" href="/guides/frameworks/sveltekit"/>
</CardGroup>


Expand Down
Binary file added docs/images/logo-svelte.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading