Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
SvelteKitGetting started

Introduction

Before we begin

If you’re new to Svelte or SvelteKit we recommend checking out theinteractive tutorial.

If you get stuck, reach out for help in theDiscord chatroom.

What is SvelteKit?

SvelteKit is a framework for rapidly developing robust, performant web applications usingSvelte. If you’re coming from React, SvelteKit is similar to Next. If you’re coming from Vue, SvelteKit is similar to Nuxt.

To learn more about the kinds of applications you can build with SvelteKit, see thedocumentation regarding project types.

What is Svelte?

In short, Svelte is a way of writing user interface components — like a navigation bar, comment section, or contact form — that users see and interact with in their browsers. The Svelte compiler converts your components to JavaScript that can be run to render the HTML for the page and to CSS that styles the page. You don’t need to know Svelte to understand the rest of this guide, but it will help. If you’d like to learn more, check outthe Svelte tutorial.

SvelteKit vs Svelte

Svelte renders UI components. You can compose these components and render an entire page with just Svelte, but you need more than just Svelte to write an entire app.

SvelteKit helps you build web apps while following modern best practices and providing solutions to common development challenges. It offers everything from basic functionalities — like arouter that updates your UI when a link is clicked — to more advanced capabilities. Its extensive list of features includesbuild optimizations to load only the minimal required code;offline support;preloading pages before user navigation;configurable rendering to handle different parts of your app on the server viaSSR, in the browser throughclient-side rendering, or at build-time withprerendering;image optimization; and much more. Building an app with all the modern best practices is fiendishly complicated, but SvelteKit does all the boring stuff for you so that you can get on with the creative part.

It reflects changes to your code in the browser instantly to provide a lightning-fast and feature-rich development experience by leveragingVite with aSvelte plugin to doHot Module Replacement (HMR).

Edit this page on GitHub llms.txt

previousnext

[8]ページ先頭

©2009-2025 Movatter.jp