svelte Svelte Themes

Svelte

learning svelte

Svelte

Svelte a compiler that creates JavaScript code, functioning similar to other frameworks like React or Vue.

Getting started

I am using Svelte for VS Code extension.

Quick start

You can use Svelte web kit for fast build, or follow on of these guides [https://www.svelte.cn/blog/the-easiest-way-to-get-started], one of the options is ...

Degit

You can using degit scaffolding tool by running: npx degit sveltejs/template app-name

Questions

:$ - Creating a reactive value, usually based on some other input.

Events

You use on:event and the can write the function inline or reference the created function.

Ifs

{#if} opening, followed by either {#else if something} {# else} and closing with {\if}

Resources

React vs Svelte

Top categories

Loading Svelte Themes