Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#997 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
devtools, performance

Hướng nghiên cứu

Bắt đầu với mục trong vite.config.ts nơi vueDevTools() được cấu hình, sau đó theo dõi cách plugin được inject vào trình duyệt. Xác định cách kiểm soát việc kích hoạt tính năng inspection và các tính năng được chọn; hoàn thành nghĩa là plugin không áp đặt overhead thông thường theo mặc định và người dùng có thể bật các tính năng inspection mà họ cần.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
TypeScript
Star
2.9k
Fork
289
Merge trung bình
2 ngày 3 giờ
Pull request đã merge (30 ngày)
19

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của vuejs/devtools

Tất cả issue của vuejs/devtools

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.