Skip to content
PluginStats

@defstudio/vite-livewire-plugin weekly downloads statistics

By defstudio · npm · Vite plugins

Livewire plugin for Vite

View on npm Fresh · Dec 6, 2026

@defstudio/vite-livewire-plugin has 10,121 recorded weekly downloads on npm, a decrease of 17.0% over the past 30 days, ranking #1254 of 3,247 tracked listings.

Weekly downloads
10,121
Official API · Dec 5, 2026
7-day growth
-11.7%
-1.3K weekly downloads
30-day growth
-17.0%
-2.1K weekly downloads
90-day growth
+2.8%
+277 weekly downloads
Rank
#1254
▼ 62 in 7 days

About @defstudio/vite-livewire-plugin

Vite Livewire Plugin

<a href="https://www.npmjs.com/package/@defstudio/vite-livewire-plugin"><img src="https://img.shields.io/npm/dt/@defstudio/vite-livewire-plugin" alt="Total Downloads"></a> <a href="https://www.npmjs.com/package/@defstudio/vite-livewire-plugin"><img src="https://img.shields.io/npm/v/@defstudio/vite-livewire-plugin" alt="Latest Stable Version"></a> <a href="https://www.npmjs.com/package/@defstudio/vite-livewire-plugin"><img src="https://img.shields.io/npm/l/@defstudio/vite-livewire-plugin" alt="License"></a> <a href="https://twitter.com/FabioIvona?ref_src=twsrc%5Etfw"><img alt="Twitter Follow" src="https://img.shields.io/twitter/follow/FabioIvona?label=Follow&style=social"></a>

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

npm install --save-dev @defstudio/vite-livewire-plugin

Usage

Livewire hot reload can be enabled by adding the livewire() plugin to the vite.config.js file:

import {defineConfig} from 'vite';
import laravel from 'laravel-vite-plugin';

import livewire from '@defstudio/vite-livewire-plugin'; // <-- import

export default defineConfig({
    //...
    
    plugins: [
        laravel([
            input: [
                'resources/css/app.css',
                'resources/js/app.js',
            ],
            refresh: false, // <-- disables laravel autorefresh, to avoid conflicts
        ]),
        
        livewire({  // <-- add livewire plugin
            refresh: ['resources/css/app.css'],  // <-- will refresh css (tailwind ) as well
        }),
    ],
});

and add the livewire hot reload manager in your app.js file:

//..

import {livewire_hot_reload} from 'virtual:livewire-hot-reload'

livewire_hot_reload();

After the Vite server is started, you should see the init message on your browser console:

[vite] connecting...
[vite] livewire hot reload ready.
[vite] connected.

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):

[vite] css hot updated: /resources/css/app.css
[vite] livewire hot updated.

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:

// vite.config.js
export default defineConfig({
//...
    plugins: [
        //...
    
        laravel({
            // ...
            refresh: false,
        })
    ],
});

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

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

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@defstudio/vite-livewire-plugin weekly downloads on npm, last 90 days: 10,121 weekly downloads as of Dec 5, 2026, +2.8% over 90 days.@defstudio/vite-livewire-pluginWeekly downloads on npm · Last 90 days10,121downloads / week+2.8% over 90 days02K4K6K8K10K12K14K16K18KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@defstudio/vite-livewire-plugin weekly downloads on npm, last 90 days: 10,121 weekly downloads as of Dec 5, 2026, +2.8% over 90 days.

7/30/90-day growth

@defstudio/vite-livewire-plugin weekly downloads growth on npm: -11.7% over 7 days, -17.0% over 30 days, +2.8% over 90 days.@defstudio/vite-livewire-pluginWeekly downloads growth on npm10,121downloads / week now7-day growth-1,339 weekly downloads-11.7%30-day growth-2,075 weekly downloads-17.0%90-day growth+277 weekly downloads+2.8%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@defstudio/vite-livewire-plugin weekly downloads growth on npm: -11.7% over 7 days, -17.0% over 30 days, +2.8% over 90 days.

Ranking history

@defstudio/vite-livewire-plugin npm ranking history: currently #1254 (by weekly downloads).@defstudio/vite-livewire-pluginnpm ranking · by weekly downloads · Last 90 days#1254current rank#1100#1120#1140#1160#1180#1200#1220#1240#1260#1280Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@defstudio/vite-livewire-plugin npm ranking history: currently #1254 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 63, #14 (overall #1,254)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins300 listings · 15 pages · page 12, #7 (overall #227)
Vite plugins: every listing in weekly downloads order

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 linear 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 (170)
Recent weekly downloads observations for @defstudio/vite-livewire-plugin
Date (UTC)Weekly downloadsChange vs. previous
10,121+81
10,040+66
9,974+352
9,622-1.5K
11,074-774
11,848+143
11,705+245
11,460-21
11,481-179
11,660-1.3K
12,973+746
12,227+347
11,880-169
12,049—

Data 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 Dec 6, 2026. See the methodology.