You can create a Svelte project using SvelteKit.
Bash
npm create svelte@latestThe command will give you a prompt with several project types. We'll be starting with a skeleton project.
The prompt will be something similar to this.
Bash
create-svelte version 3.2.0
┌ Welcome to SvelteKit!│◇ Where should we create your project?│ my-svelte-project│◇ Which Svelte app template?│ Skeleton project│◇ Add type checking with TypeScript?│ Yes, using JavaScript with JSDoc comments│◇ Select additional options (use arrow keys/space bar)│ Add ESLint for code linting│└ Your project is ready!After the prompt is finished, you can head over to the newly created project.
Bash
cd my-svelte-projectnpm installAdding Appwrite to your Svelte app
Appwrite provides a Web SDK that can be used in your Svelte apps. You can use Appwrite by installing the Web SDK as an NPM package.
Bash
npm install appwriteWas this page helpful?
Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.