Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

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

Open
maninak opened this issue Nov 3, 2021 · 1 comment

Comments

@maninak
Copy link
Contributor

maninak commented Nov 3, 2021

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. 🙏

@maninak maninak changed the title "Cannot find name x" when using script setup lang='ts' with volar "Cannot find name x" on template when using script setup lang='ts' with volar Nov 3, 2021
@maninak
Copy link
Contributor Author

maninak commented Nov 8, 2021

Looks like this is related nuxt/bridge#215

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant