Skip to content
PluginStats

vite-plugin-vue-tracer weekly downloads statistics

By antfu (14 listings) · npm · Vite plugins

Tracer for the source code of elements and vdoms in Vue SFC

View on npm Fresh · Oct 18, 2026

vite-plugin-vue-tracer has 1,194,211 recorded weekly downloads on npm, a decrease of 25.2% over the past 30 days, ranking #189 of 2,322 tracked listings.

Weekly downloads
1,194,211
Official API · Oct 18, 2026
7-day growth
-42.2%
-870.5K weekly downloads
30-day growth
-25.2%
-402.3K weekly downloads
90-day growth
-16.7%
-239.1K weekly downloads
Rank
#189
Among tracked npm listings

About vite-plugin-vue-tracer

vite-plugin-vue-tracer

npm version npm downloads bundle JSDocs License

Tracer for the source code of elements and vdoms in Vue SFC.

This is a designed to be a replacement of vite-plugin-vue-inspector with a new approach, that utilize Vite's internal source map to resolve the source location, without injecting data-attributes to the DOM.

This plugin is also designed to be more modular, where you can use it as a standalone inspector plugin, or as a headless APIs to build your own inspector.

Usage

npm i -D vite-plugin-vue-tracer
import { defineConfig } from 'vite'
import { VueTracer } from 'vite-plugin-vue-tracer'

export default defineConfig({
  plugins: [
    VueTracer(),
  ],
})

In the your entry file, add the following code:

// Only apply in development
if (import.meta.hot) {
  import('vite-plugin-vue-tracer/client/overlay').then(({ events, state }) => {
    // Enables the overlay
    state.isEnabled = true

    events.on('hover', (info) => {
      // ...
    })

    events.on('click', (info) => {
      // ...
      openInEditor(info.fullpath) // 'src/app.vue:10:1'
      state.isEnabled = false
    })
  })
}

Of if you want headless APIs, import vite-plugin-vue-tracer/client/record instead.

if (import.meta.hot) {
  import('vite-plugin-vue-tracer/client/record')
    .then(({
      hasData,
      findTraceFromElement,
      findraceFromVNode,
      findTraceAtPointer,
    }) => {
      const el = document.querySelector('.foo')
      const trace = findTraceFromElement(el)
      if (trace) {
        console.log(trace)
      }
    })
}

References

Exports
  • vite-plugin-vue-tracer - The Vite plugin entry, should be used in vite.config.ts
  • vite-plugin-vue-tracer/client/record - The client entry for recording the trace data, this will be automatically injected into each component by the plugin. You don't normally need to import this.
  • vite-plugin-vue-tracer/client/listener - The client entry for adding event listeners to the DOM and listening to the mouse events. It expose a ref isEnabled to control if the listeners are active. A events object is exposed for listening to those events. This entry is purely headless, does not come with any UI or styling.
  • vite-plugin-vue-tracer/client/overlay - The builtin overlay UI for easier to use. A reactive state object is exposed to control the overlay's state. If you want to build your own UI, you can use the listener entry instead.

Sponsors

<p align="center"> <a href="https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg"> <img src='https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg' alt='Sponsors' /> </a> </p>

License

MIT License © Anthony Fu

<!-- Badges -->

Description from the npm listing.

  • vue
  • vite-plugin
  • devtools

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

vite-plugin-vue-tracer weekly downloads on npm, last 90 days: 1,194,211 weekly downloads as of Oct 18, 2026, -16.7% over 90 days.vite-plugin-vue-tracerWeekly downloads on npm · Last 90 days1,194,211downloads / week-16.7% over 90 days800K1M1.2M1.4M1.6M1.8M2M2.2M2.4M2.6MJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
vite-plugin-vue-tracer weekly downloads on npm, last 90 days: 1,194,211 weekly downloads as of Oct 18, 2026, -16.7% over 90 days.

7/30/90-day growth

vite-plugin-vue-tracer weekly downloads growth on npm: -42.2% over 7 days, -25.2% over 30 days, -16.7% over 90 days.vite-plugin-vue-tracerWeekly downloads growth on npm1,194,211downloads / week now7-day growth-870,511 weekly downloads-42.2%30-day growth-402,304 weekly downloads-25.2%90-day growth-239,137 weekly downloads-16.7%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
vite-plugin-vue-tracer weekly downloads growth on npm: -42.2% over 7 days, -25.2% over 30 days, -16.7% over 90 days.

Ranking history

vite-plugin-vue-tracer npm ranking history: currently #189 (by weekly downloads).vite-plugin-vue-tracernpm ranking · by weekly downloads · Last 90 days#189current rank#186#188#190#192#194#196Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
vite-plugin-vue-tracer npm ranking history: currently #189 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 10, #9 (overall #189)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins253 listings · 13 pages · page 1, #20 (overall #20)
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 (122)
Recent weekly downloads observations for vite-plugin-vue-tracer
Date (UTC)Weekly downloadsChange vs. previous
1,194,211+218.7K
975,491-207.9K
1,183,400+6.8K
1,176,633-427.4K
1,603,984-419K
2,023,0240
2,023,024-41.7K
2,064,722+8.8K
2,055,950-4.1K
2,060,068-1.6K
2,061,680-3K
2,064,720+6.4K
2,058,311-394.9K
2,453,207—

Similar npm Vite plugins plugins

All 20 vite-plugin-vue-tracer alternatives

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/vite-plugin-vue-tracer. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.