◉ Pulse
OskarLebuda avatar
#53 today ▼ 14

OskarLebuda/vue-devtools-rstack

TypeScript Framework #developer-tools #devtools #rsbuild #rsbuild-plugin

Vue DevTools for Rspack and Rsbuild - full feature parity with the Vite plugin

Created Jul 23, 2026
Stars
8
Today
+1
Forks
0
Quality
100/100
Momentum
20

README

Fetched from GitHub on Oct 30, 2026, 10:15 PM UTC · README.md

View original on GitHub

Third-party content — Open Source Pulse is not the owner of this repository.

This README belongs to OskarLebuda/vue-devtools-rstack and its contributors. We fetch it directly from the project’s public GitHub repository and display it for reference only. All text, code, images and trademarks remain the property of their respective authors. See the repository for its license terms. Copyright / takedown policy.

Vue DevTools for Rspack & Rsbuild

Vue DevTools for Rspack & Rsbuild

Vue DevTools v9 - the floating dock, component tree with live state editing, in-page component picker, timeline, router & pinia inspectors and open-in-editor - for projects built with Rspack and Rsbuild.

Upstream ships Vue DevTools as vite-plugin-vue-devtools, leaving Rspack users with only the browser extension. This project closes that gap with feature parity against vite-plugin-vue-devtools@9.0.0-beta.0 - without rewriting DevTools. Under Vite, v9 lives inside Vite DevTools; here the same devframe hub that Vite DevTools is built on is mounted on your Rspack/Rsbuild dev server. See docs/COMPATIBILITY.md.

Requirements

Node 20.19+ or 22.12+. These packages are ESM only - no CommonJS build is shipped. A CommonJS config (rspack.config.js with require()) still works on those versions thanks to Node's require(esm) support.

Quick start

Rsbuild

pnpm add -D @vue-devtools-rstack/rsbuild
// rsbuild.config.ts
import { defineConfig } from '@rsbuild/core'
import { pluginVue } from '@rsbuild/plugin-vue'
import { pluginVueDevTools } from '@vue-devtools-rstack/rsbuild'

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

Start the dev server - the DevTools dock appears in the corner of your app, and the standalone viewer is reachable at http://localhost:<port>/__devtools/.

Raw Rspack

pnpm add -D @vue-devtools-rstack/rspack
// rspack.config.mjs
import { VueDevToolsRspackPlugin } from '@vue-devtools-rstack/rspack'
import { createDevtoolsMiddlewares, printDevtoolsBanner } from '@vue-devtools-rstack/rspack/middleware'

const devtoolsServer = createDevtoolsMiddlewares()

export default {
  plugins: [/* VueLoaderPlugin, HtmlRspackPlugin, ... */ new VueDevToolsRspackPlugin()],
  devServer: {
    onListening: () => printDevtoolsBanner(3000),
    setupMiddlewares: (middlewares, devServer) => {
      devtoolsServer.attach(devServer.server)
      middlewares.unshift(...devtoolsServer.middlewares)
      return middlewares
    },
  },
}

Options

Option Type Default Description
enabled boolean true Install Vue DevTools and register its dock entry.
appendTo string | RegExp | Array<string | RegExp> - Import the devtools from matching modules instead of injecting a <script> tag (for apps without an HTML entry).
launchEditor string process.env.LAUNCH_EDITOR, else auto-detected Editor opened by open-in-editor.
embeddedVisibility 'normal' | 'passive' | 'hidden' 'normal' Initial visibility of the floating dock.
dockPreferences object - Dock bar preferences (category order, first-run position).
allowedOrigins string[] [] Origins allowed on the DevTools socket besides loopback - for LAN or tunnel access.

@vue-devtools-rstack/rspack additionally accepts base (dev-server base path), and its createDevtoolsMiddlewares accepts root.

Migrating from 0.1.x (Vue DevTools v8)

  • The v8 overlay is replaced by the devframe dock. /__devtools__/ still serves the client SPA, but it only connects to the app from inside the dock; open /__devtools/ for a separate window.
  • componentInspector is removed: the component picker is built into v9 (the crosshair button in the components tab). Passing the option logs a warning.
  • The assets, module graph and Vite Inspect tabs are gone upstream, and so are the rspack stats collector and assets watcher: VueDevToolsRspackPlugin#collector and the publicDir, distPath and collector options of createDevtoolsMiddlewares were removed.

Development

pnpm install
pnpm build          # build all packages (rslib) - run this first
pnpm lint           # rslint, lint + type check in one pass
pnpm typecheck      # rslint, types only
pnpm dev            # rsbuild playground on :3333
pnpm --filter playground-rspack-app dev   # raw rspack playground on :3344
pnpm e2e            # full Playwright suite (all four legs)
pnpm check:publish  # publint + attw over the packed tarballs

The toolchain is Rstack throughout: packages are built with Rslib, linted with Rslint, and exercised against both Rsbuild and raw Rspack playgrounds.

Linting is type-aware and covers the packages, the e2e specs and the playgrounds, so it needs the packages built first - cross-package imports resolve through the declarations in dist/.

Credits & license

MIT. Vue DevTools itself is built by webfansplz and the vuejs/devtools contributors - this project consumes its published packages and prebuilt assets, and ports the thin Vite glue to Rspack. The dock and hub are devframe by Anthony Fu (MIT).

Rendered by GitHub from the repository’s README. Scroll to read the full file.
First trending

Jul 24, 2026

first spotted on the list

Best rank

#36

highest position reached

Appearances

2

times on the trending list

Quality score

100

out of 100

Momentum

20

trend strength indicator

Star velocity

0.08

stars per day since creation

Activity — last 60 days

daily counts, collected every 6 hours
  • Stars
  • Forks
  • Merged PRs
  • Issues
  • Closed issues

Collecting activity data since launch — check back in a few days.

Star history

total stars per snapshot
6789OskarLebuda/vue-devtools-rstack · Jul 24, 8 AM UTC: 7 starsOskarLebuda/vue-devtools-rstack · Jul 24, 1 PM UTC: 8 stars8:32 AM11:12 AM1:51 PM

Rank history

position on trending · lower is better
#1#35#40#45#50#55Jul 24, 8 AM UTC: rank #36Jul 24, 1 PM UTC: rank #538:32 AM11:12 AM1:51 PM

3D card for your website

Live HTML card with a glass surface and pointer tilt. Paste the iframe on any website.

<iframe src="https://www.notionpulse.cc/embed/OskarLebuda/vue-devtools-rstack" width="420" height="240" style="border:0;max-width:100%;background:transparent" loading="lazy" title="OskarLebuda/vue-devtools-rstack — trending on Open Source Pulse"></iframe>

Stars badge

Show current stars in your README or profile. Auto-updates every 6 hours.

OskarLebuda/vue-devtools-rstack stars badge
Markdown
[![OskarLebuda/vue-devtools-rstack](https://www.notionpulse.cc/api/badge/OskarLebuda/vue-devtools-rstack.svg)](https://www.notionpulse.cc/repo/OskarLebuda/vue-devtools-rstack)
HTML
<a href="https://www.notionpulse.cc/repo/OskarLebuda/vue-devtools-rstack"><img src="https://www.notionpulse.cc/api/badge/OskarLebuda/vue-devtools-rstack.svg" alt="OskarLebuda/vue-devtools-rstack stars badge" /></a>

Repository of the Day

#36 Repository of the Day

Repository of the Week

#36 Repository of the Week

Repository of the Month

#36 Repository of the Month