-
-
Notifications
You must be signed in to change notification settings - Fork 110
Closed
Labels
♦️ need reprothe issue needs a reproduction for further investigationthe issue needs a reproduction for further investigation👍 contribution welcomeothers are welcome to implement/fix thisothers are welcome to implement/fix this🙏 help wantedhelp in this issue is welcomehelp in this issue is welcome
Description
As shown in the screenshot above, a basic project was created directly via pnpm create vue. After adding unplugin-vue-router according to the documentation, an issue arose when using the volar/sfc-typed-router plugin: $route is considered as type number, and useRoute() also cannot be correctly resolved to the current file's route.
tsconfig.app.json:

Metadata
Metadata
Assignees
Labels
♦️ need reprothe issue needs a reproduction for further investigationthe issue needs a reproduction for further investigation👍 contribution welcomeothers are welcome to implement/fix thisothers are welcome to implement/fix this🙏 help wantedhelp in this issue is welcomehelp in this issue is welcome