Skip to content

Vue.set not available in UMD bundle #2026

@Fuzzyma

Description

@Fuzzyma

Version

3.0.0-rc.9

Reproduction link

https://codepen.io/fuzzyma/pen/PoNKVoK

Steps to reproduce

Run the codepen with console open

What is expected?

Vue.set should be defined

What is actually happening?

Its not


According to the docs:

Important

The above only applies to the ES Modules builds for use with tree-shaking capable bundlers - the UMD build still includes all features and exposes everything on the Vue global variable (and the compiler will produce appropriate output to use APIs of the global instead of importing).

So it should be available, shouldnt it?

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