---
title: "Turborepo & SvelteKit Starter"
description: "This is an official starter Turborepo with two SvelteKit apps and two local packages."
url: "https://vercel.com/templates/svelte/turborepo-sveltekit-starter"
links:
  repository: "https://github.com/vercel/turborepo/tree/main/examples/with-svelte"
  demo: "https://turborepo-examples-svelte-web.vercel.sh/"
  deploy: "https://vercel.com/new/clone?demo-title=Turborepo+%26+SvelteKit+Starter&demo-description=This+is+an+official+starter+Turborepo+with+two+SvelteKit+apps+and+two+local+packages.&demo-url=https%3A%2F%2Fturborepo-examples-svelte-web.vercel.sh%2F&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F6AJCuTKL4859tAkgQHNGJT%2F4ccba3bbea59d33c8a793bf494411630%2FSveltekit.png&project-name=Turborepo+%26+SvelteKit+Starter&repository-name=turborepo-sveltekit-starter&repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fturborepo%2Ftree%2Fmain%2Fexamples%2Fwith-svelte&from=templates&skippable-integrations=1&root-directory=apps%2Fweb&build-command=turbo+build"
---

# Turborepo & SvelteKit Starter

This is an official starter Turborepo with two SvelteKit apps and two local packages.

# Turborepo Svelte starter

This Turborepo starter is maintained by the Turborepo core team
on [GitHub](https://github.com/vercel/turborepo/tree/main/examples/with-svelte/packages)
.

## Using this example

Run the following command:

```sh
npx create-turbo@latest -e with-svelte
```

## What's inside?

This Turborepo includes the following packages/apps:

### Apps

- `docs`: a [svelte-kit](https://kit.svelte.dev/) app
- `web`: another [svelte-kit](https://kit.svelte.dev/) app

### Packages

#### `eslint-config`

`eslint` configurations (includes `eslint-plugin-svelte` and `eslint-config-prettier`)

#### `typescript-config`

A package containing a custom `tsconfig` file.

#### `ui`

A stub Svelte component library shared by both `web` and `docs` applications. The package supports Svelte components and
runes in `.svelte.ts` files, which are not supported in the svelte-kit generated tsconfig.

Please refer to the [packaging](https://svelte.dev/docs/kit/packaging) page of the svelte documentation for additional
information about svelte component libraries.

Each package/app is 100% [TypeScript](https://www.typescriptlang.org/).

### Utilities

This Turborepo has some additional tools already setup for you:

- [TypeScript](https://www.typescriptlang.org/) for static type checking
- [ESLint](https://eslint.org/) for code linting
- [Prettier](https://prettier.io) for code formatting

## Related Templates

### [SvelteKit Boilerplate](https://vercel.com/templates/svelte/sveltekit-boilerplate)

A SvelteKit app including nested routes, layouts, and page endpoints.

### [Monorepo with Turborepo](https://vercel.com/templates/next.js/monorepo-turborepo)

Learn to implement a monorepo with a two Next.js sites that has installed three local packages.

### [Turborepo & Next.js Starter](https://vercel.com/templates/next.js/turborepo-next-basic)

This is an official starter Turborepo with two Next.js sites and three local packages

---

## Additional documentation

The [Vercel Knowledge Base](https://vercel.com/kb) contains guides and answers to common questions about Vercel, including deployment, framework configuration, domains, caching, and troubleshooting.
