- Build boilerplate-free components using languages you already know — HTML, CSS and - JavaScript -
- - learn more -- Svelte compiles your code to tiny, framework-less vanilla JS — your app starts fast and - stays fast -
- - learn more -- No more complex state management libraries — Svelte brings reactivity to JavaScript itself -
- - learn more -- Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks - like React and Vue do the bulk of their work in the browser, Svelte shifts that - work into a - compile step that happens when you build your app. -
- -- Instead of using techniques like virtual DOM diffing, Svelte writes code that surgically - updates the DOM when the state of your app changes. -
- -- We're proud that Svelte was recently voted the most loved web framework - with the - most satisfied developers - drawing the - most interest in learning it - in a trio of industry surveys. We think you'll love it too. - Read the introductory blog post to learn more. -
-npm create svelte@latest myapp
-cd myapp
-npm install
-npm run dev
-
-
- Learn Svelte
- + Svelte shifts as much work as possible out of the browser and into your build step. No more + manual optimisations — just faster, more efficient apps. +
-+ Write breathtakingly concise components using languages you already know — HTML, CSS and + JavaScript. Oh, and your application bundles will be tiny as well. +
+ + ++ Built-in scoped styling, state management, motion primitives, form bindings and more — don't + waste time trawling npm for the bare essentials. It's all here. +
+ + +