Skip to content

Yarn v2 compat: add vue to peerDependencies #3120

Open
@AlexandreBonaventure

Description

@AlexandreBonaventure

Version

3.1.3

Steps to reproduce

When using Typescript, vue-router export types like here: https://github.com/vuejs/vue-router/blob/dev/types/router.d.ts#L1 But as you can see here, it imports Vue typings to make it work. As a matter of fact vue should be added to peerDependencies

What is expected?

vue should be a peerDependency

What is actually happening?

it is not, and it fails in a strict dependency-tree context

Ref: vuejs/vue-cli#5135

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions