vite
SvelteKit
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 |
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
-
React Hooks now part of Ably’s JavaScript SDK (and how to build a simple React App with Ably)
import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import { pluginAPI } from 'vite-plugin-api' // https://vitejs.dev/config/ export default defineConfig({ plugins: [ react(), pluginAPI({}) ], })
-
Why use Vite when Bun is also a bundler? - Vite vs. Bun
As you may already know, under-the-hood Vite uses the main bundler Rollup (instead of using the dreaded Webpack bundler).
Vite is a fast local development server, which uses a bundler to create the bundle of JS that the client receives. It currently uses two bundlers, actually.
-
How to use Google Charts with React for dynamic data visualization
Vite is a recommended bundler for React; thus, we'll use Vite in this tutorial. You can also use other tools like Create React App (CRA) instead.
-
Consider web technologies for game development
https://vitejs.dev/ provides a quick and easy way to set up a boilerplate project with all the tooling you need.
- Vue 3: Options API vs the Composition API
-
Bun, Hono, Vite, TailwindCSS: An amazing combination has just been revealed!
Bun is great, yes!, Lately everyone is amazed and I was able to play around with it today, and I found it is pretty awesome to use it alongside with Hono, Vite and TailwindCSS.
-
Angular vs. React vs. Vue.js: Comparing performance
Vite: A build tool that provides a faster and smoother workflow for developing web applications. It supports code splitting and breaks down codebases into smaller chunks, leading to more efficient loading and execution of JavaScript. It also supports lazy loading and ensures modules are only loaded when required, which reduces initial load times and improves performance. Its bundle size is 18.2kb minified and 5.9kb gzipped
-
Implementing CI/CD pipeline with GitHub Actions, and GitHub Pages in a React app.
We will be using Vite to create the React project. Vite is a tool to quickly start a project from a basic template for popular frameworks such as React, Angular, Vue, etc
-
Create a typescript utility library using Vite
import { defineConfig } from 'vite'; import { resolve } from 'path'; // https://vitejs.dev/config/ export default defineConfig({ build: { lib: { entry: resolve(__dirname, 'src/main.ts'), formats: ['es'] } }, resolve: { alias: { src: resolve('src/') } }, });
SvelteKit
-
Useful Websites for Beginner Web Developers
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?
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
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.
-
An Overview of 25+ UI Component Libraries in 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?
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
---
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
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!
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
// 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
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
Edit: But the best resource is honestly the main documentation sites: https://svelte.dev/ https://kit.svelte.dev/
What are some alternatives?
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.