Skip to content

Typescript doesn't recognise plugins #1666

@eladcandroid

Description

@eladcandroid

Version

3.0.0-rc.3

Reproduction link

https://github.com/eladcandroid/vue-cli-errors

Steps to reproduce

Create a new project with typescript and linter support
Install axios plugin with "vue ui"
Try to use this.$axios in HelloWorld.vue

What is expected?

No errors

What is actually happening?

Got a lint error - Property '$axios' does not exist on type 'HelloWorld'
(Less important but also got warning errors about semi-colons)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions