Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

(feat/perf) Allow vite-plugin-vue-devtools to load only on inspection/fine control features

オープン
#997 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
typescript

調査の方向性

vueDevTools() が設定されている vite.config.ts のエントリから始め、次にプラグインがブラウザへどのように注入されるかを追跡します。インスペクションの有効化と選択的な機能をどのように制御するかを定義します。デフォルトではプラグインが通常のオーバーヘッドを発生させず、ユーザーが必要なインスペクション機能を有効にできれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Here's my usecase: I have a rather big and complex project with a ton of components.

It works flawlessly until I open the DevTools browser extension. From this, it becomes a rather slow, but that's expected. I can debug what's wrong and reload the page when I'm done to go back to a performant state.

The problem is that the Firefox extension is not updated anymore (still in 7.7.7) and I find the Vite plugin really cool. My problem is when I use it, it directly loads in the browser, so my project is in the slow state from the start.

My suggestions:

  • Make the plugin load after a shortcut, or when we click on the little "V", so that by default it's not injected and the app is performant. For now, I have to comment the vueDevTools() line on my vite.config.ts file to disable it, and have to reload with the line commented out when I want to debug.
  • Make it possible to disable some feature. I suspect things like the timeline can make it slow. 99% of the time, I only use the component inspection, so if I could only enable this feature, this could be easier to work with.
主要言語
TypeScript
スター
2.9k
フォーク
289
平均マージ
2日 48分
マージ済み PR(30日)
19

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

vuejs/devtools のほかの issue

vuejs/devtools の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。