Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
f3a8193
add reset button to REPL
7nik Apr 14, 2025
96b583e
Merge branch 'main' into repl-add-reset-btn
Rich-Harris Apr 16, 2025
b72abad
reuse existing icon
7nik Apr 16, 2025
b76a02e
Merge branch 'main' into repl-add-reset-btn
7nik Jun 29, 2025
6874b0c
Merge branch 'main' into repl-add-reset-btn
teemingc Jul 31, 2025
8c9a28d
Merge branch 'main' into repl-add-reset-btn
teemingc Jul 31, 2025
71fe0e0
Merge branch 'main' into repl-add-reset-btn
Ocean-OS Aug 9, 2025
6741e75
Merge branch 'main' into repl-add-reset-btn
Ocean-OS Aug 29, 2025
7f59140
Merge branch 'main' into repl-add-reset-btn
Ocean-OS Sep 5, 2025
77798ba
fix: remove trailing `=` signs from hash urls (#1513)
Ocean-OS Sep 6, 2025
daaef56
fix: scrollbar background on search results (#1519)
PatrickG Sep 6, 2025
effa1cb
feat: add #snippet and @render completions (#1377)
Thiagolino8 Sep 6, 2025
c018e49
fix: Address bugs in SvelteKit “Preloading” tutorial example (#1334)
BioniCosmos Sep 6, 2025
b8b8734
Sync `kit` docs (#1526)
github-actions[bot] Sep 6, 2025
115f840
Sync `svelte` docs (#1522)
github-actions[bot] Sep 6, 2025
f64c3af
fix: change github icon to link to gh organization (#1525)
Ocean-OS Sep 9, 2025
6df6cc1
fix: make repl console scrollable (#1477)
Ocean-OS Sep 9, 2025
710d9ac
chore: bump kit (#1529)
Rich-Harris Sep 10, 2025
39c81d0
Sync `kit` docs (#1528)
github-actions[bot] Sep 10, 2025
27ac63b
Sync `kit` docs (#1530)
github-actions[bot] Sep 10, 2025
743318e
Sync `svelte` docs (#1531)
github-actions[bot] Sep 11, 2025
c1a1442
fix: avoid TS type strip errors
dummdidumm Sep 12, 2025
092b49e
Sync `cli` docs (#1533)
github-actions[bot] Sep 12, 2025
cf4e68e
Sync `cli` docs (#1534)
github-actions[bot] Sep 12, 2025
77cff05
fix: avoid more TS type strip errors
dummdidumm Sep 12, 2025
dd3a739
Sync `kit` docs (#1535)
github-actions[bot] Sep 13, 2025
5278c3c
fix(llms): preserve newlines in generated `llms-medium.txt` file (#1532)
RaiderHCPlay Sep 13, 2025
359443c
fix: better "bundling aborted" check
dummdidumm Sep 15, 2025
ce13069
fix: prevent duplicate bundles
dummdidumm Sep 15, 2025
a086755
fix: type check
dummdidumm Sep 15, 2025
23c36e2
fix: ensure reset sets option before bundling
dummdidumm Sep 15, 2025
7685fb8
fix: better commonjs support
dummdidumm Sep 15, 2025
3a10751
Sync `kit` docs (#1538)
github-actions[bot] Sep 16, 2025
3395b39
feat: add new cmd in the Playground `sv create --from-playground` (#1…
jycouet Sep 16, 2025
3ec9a05
chore: bump kit (#1540)
Rich-Harris Sep 16, 2025
0c5ab02
Sync `kit` docs (#1543)
github-actions[bot] Sep 17, 2025
76381e3
Sync `svelte` docs (#1545)
github-actions[bot] Sep 17, 2025
79ad00a
Sync `svelte` docs (#1546)
github-actions[bot] Sep 18, 2025
8d48836
chore(tutorial/select-bindings): remove unnecessary `$state` rune (#1…
RaiderHCPlay Sep 18, 2025
edc32d2
reload entire iframe
7nik Sep 18, 2025
e616f94
fix lint
7nik Sep 18, 2025
ee31a17
fix check
7nik Sep 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions apps/svelte.dev/content/docs/cli/20-commands/10-sv-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ npx sv create [options] [path]

## Options

### `--from-playground <url>`

Create a SvelteKit project from a [playground](/playground) URL. This downloads all playground files, detects external dependencies, and sets up a complete SvelteKit project structure with everything ready to go.

Example:

```sh
npx sv create --from-playground="https://svelte.dev/playground/hello-world"
```

### `--template <name>`

Which project template to use:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ The `src` directory contains the meat of your project. Everything except `src/ro
- `error.html` is the page that is rendered when everything else fails. It can contain the following placeholders:
- `%sveltekit.status%` — the HTTP status
- `%sveltekit.error.message%` — the error message
- `%sveltekit.version%` — the deployment version, which can be specified with the [`version`](configuration#version) configuration
- `hooks.client.js` contains your client [hooks](hooks)
- `hooks.server.js` contains your server [hooks](hooks)
- `service-worker.js` contains your [service worker](service-workers)
Expand Down
Loading