vitesse-nuxt-bridge icon indicating copy to clipboard operation
vitesse-nuxt-bridge copied to clipboard

"Cannot find name x" on template when using `script setup lang='ts'` with volar

Open maninak opened this issue 4 years ago • 1 comments
trafficstars

With volar v0.28.10 installed (vetur is uninstalled) in vscode 1.61.2 and a clean git-clone of af33ccb97b877353fe7917d8dcf16961f9acf1d6 I'm getting red squigglies from typescript on the template for variables defined inside script setup.

image

Does anybody else have this? How would I go about fixing this?


Thank you antfu for this super useful repo we can use to bootstrap new projects while plugins are catching up with nuxt3. :pray:

maninak avatar Nov 03 '21 21:11 maninak

Looks like this is related nuxt/bridge#215

maninak avatar Nov 08 '21 18:11 maninak