Skip to content

Update Svelte docs #92

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

Closed
wants to merge 2 commits into from
Closed
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
13 changes: 5 additions & 8 deletions npm-packages/docs/docs/quickstart/svelte.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,15 @@ Learn how to query data from Convex in a Svelte app.

<StepByStep>
<Step title="Create a SvelteKit app">
Create a SvelteKit app using the `npx create svelte@latest` command.
Create a SvelteKit app using the `npx sv create` command.

Other sets of options will work with the library as long as Svelte 5 is used but for this quickstart guide:

- For "Which Svelte app template," choose **"Skeleton project."**
- For "Add type checking with TypeScript," choose **"Yes, using TypeScript syntax."**
- For "Select additional options," enable **"Try the Svelte 5 preview."**
- For "Which template would you like?" choose **"SvelteKit minimal".**
- For "Add type checking with TypeScript," choose **"Yes, using TypeScript syntax".**

<br></br>

```sh
npm create svelte@latest my-app
npx sv create my-app
```

</Step>
Expand Down Expand Up @@ -121,7 +118,7 @@ Learn how to query data from Convex in a Svelte app.

<Snippet
source={page}
title="src/routes/page.tsx"
title="src/routes/+page.svelte"
jsExtension="js"
/>

Expand Down