Provides Vite HMR for web components(vanilla, Lit, Fast, List, Haunted).
The Vite plugin system has gained considerable popularity among developers, and a recent adaptation based on the well-regarded @open-wc/dev-server-hmr makes integrating hot module replacement (HMR) smoother than ever. This repository is a fork of the original library, maintaining its core functionalities while presenting enhanced options tailored for the Vite environment.
Whether you're a seasoned developer or just getting started, this plugin aims to simplify your development workflow, allowing for real-time updates to your application without the hassle of refreshing the page. The familiar setup from @open-wc/dev-server-hmr ensures that anyone accustomed to that environment will find the transition seamless.
Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects
Web components provide a way to create reusable, encapsulated UI components using standard web technologies such as HTML, CSS, and JavaScript. They allow developers to create complex UI components that can be easily shared across multiple projects and frameworks. Web components are built using four main specifications: Custom Elements, Shadow DOM, HTML Templates, and ES Modules.