Svelte a compiler that creates JavaScript code, functioning similar to other frameworks like React or Vue.
I am using Svelte for VS Code extension.
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 ...
You can using degit scaffolding tool by running: npx degit sveltejs/template app-name
:$
- Creating a reactive value, usually based on some other input.
You use on:event
and the can write the function inline or reference the created function.
{#if}
opening, followed by either {#else if something}
{# else}
and closing with {\if}