(feat/perf) Allow vite-plugin-vue-devtools to load only on inspection/fine control features
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- devtools, performance
调研方向
从配置 vueDevTools() 的 vite.config.ts 条目开始,然后追踪插件如何注入浏览器。定义应如何控制 inspection 的启用和选择性功能;完成标准是插件默认不会带来其通常的开销,并且用户可以启用他们需要的 inspection 功能。
由索引模型根据 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 myvite.config.tsfile 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 分钟
- 30 天内合并 PR
- 19
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
vuejs/devtools 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 69/100
维护者通常 2 天内回复
-
Upgrade Electron to fix ZIP extraction on Node.js 26可能已有人在做 @ondrhn 于 46 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
On the landing site, the "Developer experience" card is redundant可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 1/5 1 小时以内 新手友好度 72/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 2 天内回复
-
难度 5/5 一周以上 新手友好度 18/100
维护者通常 2 天内回复
相似的 Issue
-
area: triage theme: undefined
难度 2/5 1-3 小时 新手友好度 85/100
jhipster/generator-jhipster#35895 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
paperclipai/paperclip#18396 ·
维护者通常 1 天内回复
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
难度 1/5 1 小时以内 新手友好度 82/100
lingdojo/kana-dojo#33380 · 1 条评论 · 5 个 reaction ·
维护者通常 1 天内回复
-
chore other
难度 2/5 1-3 小时 新手友好度 82/100
alastair-smith/card-games#342 ·
维护者通常 1 天内回复