Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
This repository was 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

@maninak

Description

@maninak

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions