Vetur: How to remove unused warnings for variables that are already used in the template

Created on 31 Dec 2020  路  4Comments  路  Source: vuejs/vetur

  • [ ] I have searched through existing issues
  • [x] I have read through docs
  • [x] I have read FAQ

Info

  • Platform: Win x64
  • Vetur/VLS version: 0.31.3
  • VS Code (or other LSP client) version: 1.52.1

Problem

Except for adding // @ts-nocheck at the top

What else can be done without reporting this warning?

Although I don't use it in the script, I do use it in the template

unused

Reproducible Case

question

Most helpful comment

Okay, okay, good job and happy new year in advance.

All 4 comments

We don't support