2 artifacts
Tap to collapse details
Install prerequisites:
Create your first project:
npx sv create my-svelte-app cd my-svelte-app npm install npm run dev
Open http://localhost:5173 to see the app. Edit src/routes/+page.svelte to experiment.
src/routes/+page.svelte
❌ Node version too old
→Install Node 20+ from nodejs.org
❌ No editor extension
→Install Svelte extension for syntax support
❌ Forgot npm install
→Always run npm install after scaffolding
Tap to expand details
Spin up a personalized “learn Svelte” plan you can save, check off, and return to anytime — unlimited on the free trial.
Joy of Code
Frontend Masters
by Alex Hyde
by Daniel Irvine
Interactive hands-on tutorial
Complete reference documentation
Fullstack app framework docs
Intellisense, syntax highlighting
JavaScript runtime required