···11+# sv
22+33+Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
44+55+## Creating a project
66+77+If you're seeing this, you've probably already done this step. Congrats!
88+99+```sh
1010+# create a new project
1111+npx sv create my-app
1212+```
1313+1414+To recreate this project with the same configuration:
1515+1616+```sh
1717+# recreate this project
1818+pnpm dlx sv@0.12.5 create --template minimal --types ts --install pnpm sveltekit-atproto
1919+```
2020+2121+## Developing
2222+2323+Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
2424+2525+```sh
2626+npm run dev
2727+2828+# or start the server and open the app in a new browser tab
2929+npm run dev -- --open
3030+```
3131+3232+## Building
3333+3434+To create a production version of your app:
3535+3636+```sh
3737+npm run build
3838+```
3939+4040+You can preview the production build with `npm run preview`.
4141+4242+> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.
···11+// place files you want to import through the `$lib` alias in this folder.
+11
src/routes/+layout.svelte
···11+<script lang="ts">
22+ import favicon from "$lib/assets/favicon.svg";
33+44+ let { children } = $props();
55+</script>
66+77+<svelte:head>
88+ <link rel="icon" href={favicon} />
99+</svelte:head>
1010+1111+{@render children()}
+5
src/routes/+page.svelte
···11+<h1>Welcome to SvelteKit</h1>
22+<p>
33+ Visit <a href="https://svelte.dev/docs/kit">svelte.dev/docs/kit</a> to read the
44+ documentation
55+</p>
+3
static/robots.txt
···11+# allow crawling everything by default
22+User-agent: *
33+Disallow:
+13
svelte.config.js
···11+import adapter from "@sveltejs/adapter-auto";
22+33+/** @type {import('@sveltejs/kit').Config} */
44+const config = {
55+ kit: {
66+ // adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
77+ // If your environment is not supported, or you settled on a specific environment, switch out the adapter.
88+ // See https://svelte.dev/docs/kit/adapters for more information about adapters.
99+ adapter: adapter(),
1010+ },
1111+};
1212+1313+export default config;
+20
tsconfig.json
···11+{
22+ "extends": "./.svelte-kit/tsconfig.json",
33+ "compilerOptions": {
44+ "rewriteRelativeImportExtensions": true,
55+ "allowJs": true,
66+ "checkJs": true,
77+ "esModuleInterop": true,
88+ "forceConsistentCasingInFileNames": true,
99+ "resolveJsonModule": true,
1010+ "skipLibCheck": true,
1111+ "sourceMap": true,
1212+ "strict": true,
1313+ "moduleResolution": "bundler",
1414+ },
1515+ // Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
1616+ // except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
1717+ //
1818+ // To make changes to top-level options such as include and exclude, we recommend extending
1919+ // the generated config; see https://svelte.dev/docs/kit/configuration#typescript
2020+}
+6
vite.config.ts
···11+import { sveltekit } from "@sveltejs/kit/vite";
22+import { defineConfig } from "vite";
33+44+export default defineConfig({
55+ plugins: [sveltekit()],
66+});