Skip to content
Merged

day 23 #1062

Changes from all commits
Commits
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
8 changes: 5 additions & 3 deletions apps/svelte.dev/content/blog/2024-12-01-advent-of-svelte.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,16 +177,18 @@ It comes with caveats — you can't use server-rendering (or any server logic),
- [docs](/docs/kit/configuration#router)
- [demo](https://hash-based-routing.vercel.app/)

## Day 22
## Day 22: self-contained apps

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.

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

## Day 23
## Day 23: download from playground

Coming soon!
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.

- [playground](/playground)

## Day 24

Expand Down
Loading