@defstudio/vite-livewire-plugin weekly downloads statistics
By defstudio · npm · Vite plugins
Livewire plugin for Vite
@defstudio/vite-livewire-plugin has 3,318 recorded weekly downloads on npm, a decrease of 68.1% over the past 30 days.
It ranks #1180 of 2,256 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -80.1%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About @defstudio/vite-livewire-plugin
Vite Livewire Plugin
Vite has become Laravel's default frontend build tool.
This plugin (made by def:studio) configures Vite for use with a Livewire setup, allowing components hot reload without losing their state when their blade or class files change.
Demo video available below in this page
Installation
Prior to install, read carefully our documentation at https://docs.defstudio.it/vite-livewire-plugin
Usage
Livewire hot reload can be enabled by adding the livewire() plugin to the vite.config.js file:
and add the livewire hot reload manager in your app.js file:
After the Vite server is started, you should see the init message on your browser console:
From now on, when a .blade.php or Livewire .php class is updated, the hot reload will trigger a refresh for all Livewire components in page (and the app.css file as well):
Warning This Vite plugin, as Livewire needs to persist in page, is not fully compatible with other plugins that full refresh the page when a .blade.php file changes (i.e. laravel/vite-plugin with refresh option active) in order to make them work together, blade files in /livewire/ should be excluded from blade hot reload. For Laravel Vite plugin, this config would solve the issue:
Usage & Documentation
An extensive documentation is available at
https://docs.defstudio.it/vite-livewire-plugin
Changelog
Please see CHANGELOG for more information on what has changed recently. Follow Us on Twitter for more updates about this package.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
• Fabio Ivona • All Contributors
License
The MIT License (MIT). Please see License File for more information.
Demo
https://user-images.githubusercontent.com/8792274/176996785-d4e21ee5-b9f3-4e91-bf3a-4bbc0e87a148.mp4
Description from the npm listing.
- laravel
- vite
- livewire
- vite-plugin
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (121)Similar npm Vite plugins plugins
All 20 @defstudio/vite-livewire-plugin alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@defstudio/vite-livewire-plugin. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.