@@ -15,18 +15,19 @@ Learn how to query data from Convex in a Svelte app.
15
15
16
16
<StepByStep >
17
17
<Step title = " Create a SvelteKit app" >
18
- Create a SvelteKit app using the ` npx create svelte@latest ` command.
18
+ Create a SvelteKit app using the ` npx sv create ` command.
19
19
20
- Other sets of options will work with the library as long as Svelte 5 is used but for this quickstart guide:
20
+ Other sets of options will work with the library but for this quickstart guide:
21
21
22
- - For "Which Svelte app template," choose ** "Skeleton project."**
22
+ - For "Which Svelte app template," choose ** "SvelteKit minimal."**
23
+ - For a package manager, choose ** "npm."**
23
24
- For "Add type checking with TypeScript," choose ** "Yes, using TypeScript syntax."**
24
- - For "Select additional options," enable ** "Try the Svelte 5 preview." **
25
+ - For "Select additional options," you don't need to enable anything.
25
26
26
27
<br ></br >
27
28
28
29
``` sh
29
- npm create svelte @latest my-app
30
+ npx sv @latest create my-app
30
31
```
31
32
32
33
</Step >
@@ -56,7 +57,7 @@ Learn how to query data from Convex in a Svelte app.
56
57
will prompt you to log in with GitHub,
57
58
create a project, and save your production and deployment URLs.
58
59
59
- It will also create a ` convex/ ` folder for you
60
+ It will also create a ` src/ convex/` folder for you
60
61
to write your backend API functions in. The ` dev ` command
61
62
will then continue running to sync your functions
62
63
with your dev deployment in the cloud.
@@ -100,7 +101,7 @@ Learn how to query data from Convex in a Svelte app.
100
101
101
102
<Snippet
102
103
source = { tasks }
103
- title = " convex/tasks.ts"
104
+ title = " src/ convex/tasks.ts"
104
105
/>
105
106
106
107
</Step >
@@ -121,7 +122,7 @@ Learn how to query data from Convex in a Svelte app.
121
122
122
123
<Snippet
123
124
source = { page }
124
- title = " src/routes/page.tsx "
125
+ title = " src/routes/+ page.svelte "
125
126
jsExtension = " js"
126
127
/>
127
128
0 commit comments