Vai al contenuto principale
ProdottiStrumenti desktopTASTECADVisualizzazione disegniTASTEFILESGestione fileTASTEFTPTrasferimento fileTASTESSHSpazio di lavoro remotoTASTEZIPCompressione ed estrazioneTASTEWINMGestione fileStrumenti per sviluppatoriTASTECODEAmbiente di sviluppo integrato per RustTASTESTUDIOAmbiente integrato di sviluppo e testTASTEETLIntegrazione dati (ETL)ServerTASTEREMOTEServer di desktop remotoTASTEGEOServer geospazialeTASTEMAILSpazio di lavoro emailInvestimentiTASTESTOCKApp desktop di trading automatico azionarioIniziaDownloadDocumentazioneAcquistaTutti i prodotti
Marketplace
Notizie
TecnologiaNotizieNotizie di sviluppo di oggiDocumentazioneLinguaggi di programmazioneRustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDartFramework frontend webNext.jsReactVue.js · NuxtSvelteKitAngularFramework serverSpring BootDjangoFastAPIASP.NET CoreNestJS · ExpressFramework per app e desktopTauriFlutterReact NativeElectronAlgoritmiBasi degli algoritmiAlgoritmi fondamentaliAlgoritmi avanzatiAlgoritmi pratici
CommunityProgettiLog di sviluppoPromptProblemi degli strumenti di IAVetrinaGuida alla community
CollaboraTrasferimento tecnicoRealizzazione del sito webRealizzazione di app desktopPipeline di rilascio e pagamentoPartner commercialeContatti
ServiziDesktop remotoPacchetti di installazione su misura
TASTEDEV
Prodotti

Strumenti desktop

TASTECADApri con leggerezza anche i disegni più complessiTASTEFILESSolo i file che servono, alla massima velocitàTASTEFTPLa via più ordinata per i tuoi fileTASTESSHUn legame più solido tra te e i tuoi serverTASTEZIPComprimi più veloce, estrai più sicuroTASTEWINMUn file manager a due pannelli pensato per la tastiera

Strumenti per sviluppatori

TASTECODEModifica, compila, esegui il debug e testa app Rust in un'unica finestraTASTESTUDIODalla modifica ai test remoti e alle correzioni IA approvateTASTEETLSposta i dati guardando i valori

Server

TASTEREMOTEUn desktop remoto che gira sul tuo serverTASTEGEOUn server geospaziale compatibile con GeoServer, ricostruito in RustTASTEMAILRiprendi il controllo della tua posta

Investimenti

TASTESTOCKTrading automatico azionario secondo le regole che decidi tu: quando e che cosa

Inizia

DownloadUltime versioni di ogni prodottoDocsCome usare ogni prodottoAcquistaAbbonamenti e licenze perpetueTutti i prodottiTutti i prodotti a colpo d’occhio
Tutti i prodotti
MarketplaceNotizie
Tecnologia

Notizie

Notizie di sviluppo di oggiAnnunci ufficiali su linguaggi, framework, GitHub e IADocumentazioneGuide a linguaggi, framework e algoritmi

Linguaggi di programmazione

RustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDart

Framework

Framework frontend webNext.jsReactVue.js · NuxtSvelteKitAngular
Framework serverSpring BootDjangoFastAPIASP.NET CoreNestJS · Express
Framework per app e desktopTauriFlutterReact NativeElectron

Algoritmi

Basi degli algoritmiAnalisi della complessità · Ordinamento · Ricerca · Strutture dati di base · Alberi e heapAlgoritmi fondamentaliVisita dei grafi · Cammini minimi e alberi ricoprenti · Programmazione dinamica · Algoritmi greedy · Divide et impera · BacktrackingAlgoritmi avanzatiAlgoritmi sulle stringhe · Matematica e teoria dei numeri · Manipolazione dei bit · Alberi di segmenti · Union-FindAlgoritmi praticiStrategia per colloqui di programmazione · Cache LRU · Rate limiting · Hashing consistente
Tutta la documentazione di sviluppo
Community
ProgettiScopri sviluppatori e lavoriLog di sviluppoDecisioni e lezioni appresePromptIstruzioni riutilizzabiliProblemi degli strumenti di IAProblemi e alternative di Claude, Codex, GeminiVetrinaRisultati completatiGuida alla communityCome sviluppiamo in modo aperto
Collabora
Trasferimento tecnicoApp native in Rust ed eguiRealizzazione del sito web10 lingue, account, documentazione e downloadRealizzazione di app desktopRust ed egui, senza WebViewPipeline di rilascio e pagamentoFirma, MSI, deb, rpm, AppImage, hashPartner commercialeConsigliaci e ricevi il 30%ContattiSviluppo, partnership e investimenti
Servizi
Desktop remotoRaggiungi il tuo computer dal browserPacchetti di installazione su misuraSolo il necessario, impostazioni precaricate
Acquista
IT
한국어EnglishDeutschEspañolFrançaisItalianoPortuguês (Brasil)日本語简体中文繁體中文
Accedi
Accedi
TASTEDEV

Dai piccoli strumenti a uno sviluppo migliore.

support@tastedev.netSostieni TASTEDEV
ProdottiGamma di prodottiAcquistaDocsDownloadMarketplaceAssistenza
CommunityProgettiLog di sviluppoPromptProblemi degli strumenti di IAVetrina
NormeChi siamoInformativa sulla privacyTermini di servizioCondizioni di abbonamentoRimborsiLinee guida della community
AccountAccediRegistrati
Visitatori
Oggi
Ieri
Visualizzazioni totali
Società
GXSOFT
Rappresentante
CHOI YOUNG GU
Numero di registrazione
853-44-00368
Indirizzo
9F V24, 351 Gyeongin-ro, Michuhol-gu, Incheon, Republic of Korea
Telefono
+82-10-4404-1523
E-mail
whitecalvin@tastedev.net
Responsabile privacy
CHOI YOUNG GU

© 2026 TASTEDEVLe informazioni sui prodotti si basano su fonti di sviluppo verificate.Rilasciato · in miglioramento

Documentazione di SvelteKit
SvelteKit
Getting Started with SvelteKitProject StructureCore ConceptsData and StateTestingBuilding and Deployment
Discussioni

Guida a SvelteKit · 1/6

Getting Started with SvelteKit

Per ora questo capitolo è disponibile solo in inglese.

In this chapter you will create a SvelteKit project, start the development server and edit your first page. Along the way we cover editor setup and the everyday commands you will use.

What SvelteKit is

Svelte is a UI framework that compiles components into efficient JavaScript at build time. SvelteKit is the application framework built on top of it: it adds routing, server-side rendering (SSR), data loading, form handling, and building and deploying your app. Vite powers the dev server and the bundling, and SvelteKit itself runs as a Vite plugin. If Next.js is the app framework for React, SvelteKit plays the same role for Svelte.

Prerequisites

  • A current LTS release of Node.js, plus npm (or pnpm, Yarn or Bun)
  • An editor: Visual Studio Code with the official Svelte for VS Code extension is recommended
  • Basic familiarity with the terminal

Check which Node.js version you have installed. If it is older than the minimum SvelteKit requires, download the LTS release from nodejs.org.

node --version
npm --version

Creating a project

Projects are created with sv, the official Svelte command-line tool. There is nothing to install globally; run it through npx.

npx sv create my-app
cd my-app
npm run dev

sv create asks a few questions:

PromptWhat it means
Templateminimal (an empty app), demo (an app with a small example game), library (a Svelte component library)
Type checkingTypeScript (ts) or JSDoc annotations (jsdoc)
Add-onsPrettier, ESLint, Vitest, Playwright, Tailwind CSS, Drizzle and more
Package managerThe tool used to install dependencies right away (npm, pnpm, yarn, bun, deno)

To skip the prompts, pass the options directly. This guide uses TypeScript throughout.

npx sv create my-app --template minimal --types ts --no-add-ons --install npm

# Add integrations later
npx sv add prettier eslint
npx sv add vitest playwright

Running the dev server

npm run dev starts the Vite dev server at http://localhost:5173 by default. When you save a file, hot module replacement (HMR) updates only what changed, without a full page reload.

Domande su questo capitolo?
Capitolo successivoProject Structure
# Open the browser automatically
npm run dev -- --open

# Expose the server to other devices on your network
npm run dev -- --host

Editing your first page

src/routes/+page.svelte is the home page (/). Replace its contents with the following and save. $state is a Svelte 5 rune that creates reactive state: whenever the value changes, the UI updates.

<script lang="ts">
  let name = $state('SvelteKit');
  let count = $state(0);
</script>

<h1>Hello, {name}!</h1>

<input bind:value={name} />
<button onclick={() => count++}>
  Clicked {count} times
</button>

bind:value creates a two-way binding between the input and the variable, and onclick passes an event handler just like a regular HTML attribute.

A second page and a link

Create src/routes/about/+page.svelte with the content below, then add <a href="/about">About</a> to the home page.

<svelte:head>
  <title>About</title>
</svelte:head>

<h1>About</h1>
<p>This page lives at /about.</p>
<a href="/">Back home</a>

Anything inside <svelte:head> is placed in the document head, so each page can set its own title and meta tags. When you click the link, SvelteKit loads only the code it needs and swaps the page without a full reload. The first request is still rendered to HTML on the server, so search engines see real content.

Everyday commands

The scripts section of package.json includes:

CommandWhat it does
npm run devStart the dev server
npm run buildCreate a production build (vite build)
npm run previewPreview the production build locally
npm run checkRun svelte-check for type and Svelte diagnostics

Editor setup

In VS Code, the Svelte for VS Code extension adds syntax highlighting, completion, inline type errors and formatting for .svelte files. Extensions built on the same language server exist for other editors, including JetBrains IDEs, Neovim and Zed. Running npm run check before you commit is a good habit, since it checks the whole project at once.

Summary

  • SvelteKit is a Vite-based framework that adds routing, SSR, data loading and deployment on top of Svelte components.
  • Create a project with npx sv create and start it with npm run dev.
  • Pages are +page.svelte files inside src/routes, and the folder structure defines the URLs.
  • Use npx sv add to bring in integrations at any time.

0 commenti

Commenti principaliPrima i più recenti

Accedi · Accedi per lasciare un commento.