Skip to content

vue-tsc not work with unplugin-vue-router/volar #5930

@l246804

Description

@l246804

Vue - Official extension or vue-tsc version

3.2.2

VSCode version

1.107

Vue version

3.5.26

TypeScript version

5.9.3

System Info

package.json dependencies

Steps to reproduce

Reproduction URL: https://stackblitz.com/edit/vitejs-vite-rsrtzaaz?file=src%2Fpages%2Fhome.%5B%5Bcode%5D%5D.vue

Reproduction Steps:

Open the terminal and run the command npm run type-check.

What is expected?

The plugin should work as intended.

What is actually happening?

The editor LSP functions correctly, but running vue-tsc type checking via the command line throws errors.

Link to minimal reproduction

https://stackblitz.com/edit/vitejs-vite-rsrtzaaz?file=src%2Fpages%2Fhome.%5B%5Bcode%5D%5D.vue

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    externalgood reproduction ✨This issue provides a good reproduction, we will be able to investigate it first

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions