Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

A soup-to-nuts interactive tutorial on how to build apps with Svelte

License

NotificationsYou must be signed in to change notification settings

sveltejs/learn.svelte.dev

Repository files navigation

A soup-to-nuts interactive tutorial on how to build apps with Svelte.

Setup

This repo usespnpm.

Developing the app

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 an instance of a SvelteKit application (which powers the output window of the tutorial). Then, rundev:

node scripts/create-common-bundlepnpm dev

To build for production and run locally:

pnpm buildpnpm preview

Creating new tutorials

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.

Bumping tutorial dependencies

Bump the dependency (for example Svelte) in both the root and thecontent/commonpackage.json. In the root dopnpm i (to updatepnpm-lock.yaml), incontent/common donpm i (to updatepackage-lock.json).

About

A soup-to-nuts interactive tutorial on how to build apps with Svelte

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors101


[8]ページ先頭

©2009-2025 Movatter.jp