Skip to content

Async/Await Broken In Default Config #1012

Closed
@stolinski

Description

@stolinski

Version

3.0.0-beta.6

Reproduction link

https://github.com/stolinski/vueBrokenAsync

Steps to reproduce

npm run serve

check console.

async code is added to HelloWorld.vue

What is expected?

Async method to be recognized as a function.

What is actually happening?

Runtime errors stating "TypeError: this.fetchData is not a function"


Also unexpected token errors in eslint. This same code works out of box with the CLI v2 and no mods to the .babelrc file

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