pugjs / pug

Pug – robust, elegant, feature rich template engine for Node.js
https://pugjs.org
21.7k stars 1.95k forks source link

Typescript not detecting errors when using Pug with Vue.js #3420

Open lisandromdc opened 1 year ago

lisandromdc commented 1 year ago

I'm an old fan of pug! Currently I'm working on a Vue.js really huge proyect where the type-check of Typescript is crucial to avoid break anything on any update.

No mather whatever I do, typescript is not finding any error on the "template" (pug) part of the .vue file. It just check the "script" part. This is absolutely important for me, because prevents lots of errors when usingi not defined keys for some variables or things like that

QuincyX commented 11 months ago

it works for me

index.vue Doctor ❗ @vue/language-plugin-pug missing For