vite VS SvelteKit

Compare vite vs SvelteKit and see what are their differences.

vite

Next generation frontend tooling. It's fast! (by vitejs)
Our great sponsors
  • SurveyJS - A Non-Cloud Alternative to Google Forms that has it all.
  • Amplication - open-source Node.js backend code generator
  • Appwrite - The open-source backend cloud platform
  • Sonar - Write Clean JavaScript Code. Always.
  • Mergify - Updating dependencies is time-consuming.
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
vite SvelteKit
734 582
59,730 16,143
2.6% 3.6%
9.7 9.7
4 days ago 4 days ago
TypeScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

vite

Posts with mentions or reviews of vite. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-25.

SvelteKit

Posts with mentions or reviews of SvelteKit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-19.
  • Useful Websites for Beginner Web Developers
    8 projects | dev.to | 19 Sep 2023
    SvelteKit: The modern, blazing-fast web application framework that simplifies development with its intuitive approach and seamless transitions
  • Ask HN: What web frameworks do you use?
    3 projects | news.ycombinator.com | 11 Sep 2023
    Aha another Play user.

    I took over a rather large Play project at work and it feels like the worst parts of Rails, then there's a poorly-implemented, old ReactJS + bootstrap frontend on it.

    Would highly recommend taking a look at Sveltekit [0] with TypeScript and drizzle-orm if you want a full-stack experience.

    [0] - https://kit.svelte.dev/

  • Show HN: Node.js File-based routing back end library
    2 projects | news.ycombinator.com | 11 Sep 2023
    FYI SvelteKit moved from file-based routing to filesystem-based or directory-based routing[1]. This change was inspired by next.js[2]

    Many users grumbled about needing more folders and files. With many files sharing the same name. But I think this was the right choice. See the explanations in the links below.

    [1]: https://github.com/sveltejs/kit/discussions/5037

    [2]: https://nextjs.org/blog/layouts-rfc

  • An Overview of 25+ UI Component Libraries in 2023
    40 projects | dev.to | 10 Sep 2023
    Svelte Headless UI : A complete port of React Headless UI, which is compatible with SvelteKit (Svelte meta framework). See above for more details.
  • What language/frameworks should I use for simple web apps in 2023?
    2 projects | news.ycombinator.com | 7 Sep 2023
    I personally really like https://kit.svelte.dev. One of SvelteKit's philosophies is "use the platform." So it sticks close to vanilla HTML/CSS/JS and adds enhancements where it makes sense. Also the SvelteKit community is pretty active and helpful.

    The base SvelteKit skeleton project provides a minimal site using best practices so you can get started right away on the unique features of your app. You don't have to use any of SvelteKit's extra enhancements, but they are designed to cut down the boilerplate almost every project needs.

    I have built several small projects with SvelteKit. Here is one of my latest projects, built in an afternoon or two (the biggest feature is hidden away):

    - https://github.com/Leftium/transform/commits/main

    - https://tt.leftium.com/

    ---

    On the other hand, there is merit in using tech you are already proficient with. (StackOverflow uses .net because that's what the devs were familiar with.) It is possible to use PHP/Python/Django for the backend and just use SvelteKit on the frontend.

  • The state of modern Web development and perspectives on improvements
    5 projects | dev.to | 24 Aug 2023
    The frameworks mentioned do not allow a page interaction without a code being executed in a browser. The exception is Svelter.Kit, which tries hard to make a web page interactive even with disabled JavaScript.
  • Svelte is great for junior developers!
    3 projects | /r/sveltejs | 21 Aug 2023
    As a “one-developer” agency you will find the Svelte/SvelteKit ecosystem amazing. The most common route imo is SvelteKit + Vercel + Baas (Supabase) + TailwindCSS + UI Component Library (Skeleton UI, DaisyUI). This stack gets you a fully scalable, blazingly fast™️, and a joy-to-develop ecosystem with basically zero deployment management.
  • OAuth2 is so complicated ... or 90 lines of code with Svelte
    2 projects | dev.to | 17 Aug 2023
    // See https://kit.svelte.dev/docs/types#app // for information about these interfaces import PocketBase from 'pocketbase'; declare global { namespace App { // interface Error {} interface Locals { pb: PocketBase; id: string; email: string; } // interface PageData {} // interface Platform {} } } export {};
  • Community Highlights: Svelte Storefront, Medusa Flutter Admin, and lots of new plugins
    4 projects | dev.to | 10 Aug 2023
    In our most recent community highlight, we were excited to announce the introduction of the SvelteKit client. Now, Lacey Pevey made it even easier to get started using Svelt expeerience with her new SvelteKit eCommerce Store Starter, a Svelte storefront designed to integrate with your Medusa backend seamlessly.
  • Multi-page site via SvelteKit
    2 projects | /r/sveltejs | 16 Jul 2023
    Edit: But the best resource is honestly the main documentation sites: https://svelte.dev/ https://kit.svelte.dev/

What are some alternatives?

When comparing vite and SvelteKit you can also consider the following projects:

Next.js - The React Framework

parcel - The zero configuration build tool for the web. 📦🚀

esbuild - An extremely fast bundler for the web

Nuxt.js - Nuxt is an intuitive and extendable way to create type-safe, performant and production-grade full-stack web apps and websites with Vue 3. [Moved to: https://github.com/nuxt/nuxt]

swc - Rust-based platform for the Web

astro - The web framework that scales with you — Build fast content sites, powerful web applications, dynamic server APIs, and everything in-between ⭐️ Star to support our work!

Rollup - Next-generation ES module bundler

Express - Fast, unopinionated, minimalist web framework for node.

Laravel Mix - The power of webpack, distilled for the rest of us.

webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.