- Notifications
You must be signed in to change notification settings - Fork238
A soup-to-nuts interactive tutorial on how to build apps with Svelte
License
sveltejs/learn.svelte.dev
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A soup-to-nuts interactive tutorial on how to build apps with Svelte.
This repo usespnpm.
First, runnode scripts/create-common-bundle. This packages up everything that's needed to run a SvelteKit app (Vite, Esbuild, SvelteKit, Svelte compiler etc) which can subsequently be unpacked on a server to create and run and instance of a SvelteKit application (which powers the output window of the tutorial).
The next steps depend on whether you want to run this locally in filesystem mode, or in WebContainer mode. For now, it works with filesystem mode only locally. In future, it will run both locally and on the web (usingWebContainers).
- add an
.envfile withPUBLIC_USE_FILESYSTEM=truein it - Run the app locally with
pnpm devorpnpm build && pnpm preview.
- if an
.envfile exists, modify it so there'sPUBLIC_USE_FILESYSTEM=in it - Run the app locally with
pnpm devorpnpm build && pnpm preview.
Tutorials live insidecontent. Each tutorial consists of aREADME.md, which is the text to the left, andapp-a andapp-b folders, which represent the initial and solved state. Files that stay the same can be omitted fromapp-b. Files are marked as deleted inapp-b if they start with__delete. Folders that are marked as deleted inapp-b if they contain a file named__delete.
About
A soup-to-nuts interactive tutorial on how to build apps with Svelte
Resources
License
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.