## 1. Project Overview & Quickstart (sveltejs/kit)

## File: README.md

[](https://svelte.dev/chat)

# SvelteKit

Web development, streamlined. Read the [documentation](https://svelte.dev/docs/kit) to get started.

### Packages

| Package                                                     | Changelog                                             |
| ----------------------------------------------------------- | ----------------------------------------------------- |
| [@sveltejs/kit](packages/kit)                               | [Changelog](packages/kit/CHANGELOG.md)                |
| [@sveltejs/adapter-auto](packages/adapter-auto)             | [Changelog](packages/adapter-auto/CHANGELOG.md)       |
| [@sveltejs/adapter-cloudflare](packages/adapter-cloudflare) | [Changelog](packages/adapter-cloudflare/CHANGELOG.md) |
| [@sveltejs/adapter-netlify](packages/adapter-netlify)       | [Changelog](packages/adapter-netlify/CHANGELOG.md)    |
| [@sveltejs/adapter-node](packages/adapter-node)             | [Changelog](packages/adapter-node/CHANGELOG.md)       |
| [@sveltejs/adapter-static](packages/adapter-static)         | [Changelog](packages/adapter-static/CHANGELOG.md)     |
| [@sveltejs/adapter-vercel](packages/adapter-vercel)         | [Changelog](packages/adapter-vercel/CHANGELOG.md)     |
| [@sveltejs/enhanced-img](packages/enhanced-img)             | [Changelog](packages/enhanced-img/CHANGELOG.md)       |
| [@sveltejs/package](packages/package)                       | [Changelog](packages/package/CHANGELOG.md)            |

[Additional adapters](https://sveltesociety.dev/packages?category=sveltekit-adapters) are maintained by the community.

## Bug reporting

Please make sure the issue you're reporting involves SvelteKit. Many issues related to how a project builds originate from [Vite](https://vitejs.dev/), which is used to build a SvelteKit project. You can create a new Vite project with `npm create vite@latest` for client-side only repros and `npm create vite-extra@latest` for SSR or library repros.

If an issue originates from Vite, please report it in the [Vite issue tracker](https://github.com/vitejs/vite/issues).

## Contributing

See [CONTRIBUTING.md](./CONTRIBUTING.md) for information on how to develop SvelteKit locally.

## Supporting Svelte

Svelte is an MIT-licensed open source project with its ongoing development made possible entirely by fantastic volunteers. If you'd like to support their efforts, please consider:

- [Becoming a backer on Open Collective](https://opencollective.com/svelte).

Funds donated via Open Collective will be used for compensating expenses related to Svelte's development such as hosting costs. If sufficient donations are received, funds may also be used to support Svelte's development more directly.

## License

[MIT](https://github.com/sveltejs/kit/blob/main/LICENSE)

---

## File: documentation/docs/98-reference/10-@sveltejs-kit.md

---
title: @sveltejs/kit
---

> MODULE: @sveltejs/kit

## Private types

The following are referenced by the public types documented above, but cannot be imported directly:

> TYPES: Private types {depth=3}

---

## File: documentation/docs/98-reference/15-@sveltejs-kit-node-polyfills.md

---
title: @sveltejs/kit/node/polyfills
---

> MODULE: @sveltejs/kit/node/polyfills

## 2. Official Technical Reference & Guides (sveltejs/sveltejs.github.io)

# [v2.svelte.dev](https://v2.svelte.dev)

The website for Svelte v2.

## Note

**This is the repo for the Svelte v2 site.** The Svelte v3 site lives in [the `site` directory of the main Svelte repo](https://github.com/sveltejs/svelte/tree/master/site).

## Running locally

This project uses [yarn](https://yarnpkg.com) to manage dependencies.

Set up the project:

```bash
git clone git@github.com:sveltejs/v2.svelte.dev.git
cd v2.svelte.dev
yarn
```

Start the server with `yarn run dev`, and navigate to [localhost:3000](http://localhost:3000).

## Using a local copy of Svelte

By default, the REPL will fetch the most recent version of Svelte from https://unpkg.com/svelte. If you need to test a local version of Svelte, you can do so by linking it and navigating to [localhost:3000/repl?version=local](http://localhost:3000/repl?version=local):

```bash
cd /path/to/svelte
yarn link
yarn dev # rebuild Svelte on changes

cd /path/to/v2.svelte.dev
yarn link svelte
yarn dev
```

## REPL GitHub integration

In order for the REPL's GitHub integration to work properly when running locally, you will need to create a GitHub OAuth app. Set its authorization callback URL to `http://localhost:3000/auth/callback`, and in the root of this project, create a file `.env` containing:

```
GITHUB_CLIENT_ID=[your app's client id]
GITHUB_CLIENT_SECRET=[your app's client secret]
BASEURL=http://localhost:3000
```

## License

[MIT](LICENSE)