Skip to content

"Property 'default' does not exist on type '{}'." On Router-view and Router-link v-slot #547

Closed
@metkm

Description

@metkm

Repository to reproduce the error
https://github.com/sibyl666/issue

When v-slot is used with router-view it gives the error "Property 'default' does not exist on type '{}'."
this wasn't an issue a while ago with the same vue-router version on another repo, When I check the other repo it shows the same error so that's why I think the issue is related to the extension. Repository created with
yarn create vite issue --template vue-ts
image

Vue Language Features (Volar) version v0.27.27
TypeScript Vue Plugin (Volar) version v0.27.27

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions