vuejs/vetur

Missing props warning hightlight should not affect slots or children

Open

#2238 aperta il 4 set 2020

Vedi su GitHub
 (3 commenti) (2 reazioni) (0 assegnatari)TypeScript (594 fork)github user discovery
feature-requestgood first issue

Metriche repository

Star
 (5752 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: macOS
  • Vetur version: 0.27.1
  • VS Code version: 1.48.2

Problem

When a component get missing props warning, it highlights all the children of the component, the file become a visual mess.

image

It should only highlight this part of the component

image

Guida contributor