Add a way for the plugins to suggest devtools integration

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript, vite

調査の方向性

Start by reading the Vite plugin metadata and the existing code that displays devtools integration suggestions. The issue proposes a plugin property that the devtools can crawl, but does not identify files, explain the property format beyond an example, or define how registry-based suggestions relate to it. Done means plugins can declare suggestions and the devtools displays them in a way similar to the existing suggestions.

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

説明

enhancement
Clear and concise description of the problem

Right now users have to find out the related devtools integration themselves. It would be nice to make it easier to find them out.

Suggested solution

Add a property to Vite plugins and let the devtools crawl the property of the plugins. For each property, show the suggested devtools integration

For example, if @sveltejs/vite-plugin-svelte has devtools.suggestion: ['@sveltejs/dummy-devtools-integration'], show a similar suggestion like the current existing ones:
image

Alternative

Maybe a registry or something 🤔

Additional context

No response

Validations
主要言語
TypeScript
スター
1.2k
フォーク
97
平均マージ
2日 19時間
マージ済み PR(30日)
14

環境構築

はじめの一歩

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

vitejs/devtools のほかの issue

vitejs/devtools の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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