Skip to content

Commit cfa3d8c

Browse files
authored
day 23 (#1062)
1 parent 6e4cbb3 commit cfa3d8c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

apps/svelte.dev/content/blog/2024-12-01-advent-of-svelte.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,16 +177,18 @@ It comes with caveats — you can't use server-rendering (or any server logic),
177177
- [docs](/docs/kit/configuration#router)
178178
- [demo](https://hash-based-routing.vercel.app/)
179179

180-
## Day 22
180+
## Day 22: self-contained apps
181181

182182
Following the introduction of the `bundleStrategy` option on day 19, and hash-based routing yesterday, we now have the ability to generate fully self-contained apps with the `bundleStrategy: 'inline'` option. Together with Vite's `assetsInlineLimit` option, it's possible to put an entire SvelteKit app — code, styles, fonts, images, audio and everything else — inside a single .html file that you can share with people on a floppy disk.
183183

184184
- [docs](/docs/kit/configuration#output)
185185
- [example downloadable Snake game](https://svelte-snek.vercel.app/)
186186

187-
## Day 23
187+
## Day 23: download from playground
188188

189-
Coming soon!
189+
We've added a 'download app' option to the toolbox in the playground — selecting it will zip up the app, along with any packages you've imported, and download it to your machine so you can continue working on it in your editor of choice.
190+
191+
- [playground](/playground)
190192

191193
## Day 24
192194

0 commit comments

Comments
 (0)