Skip to content

initDev() Not being called in the browser #5785

Closed
@d-pollard

Description

@d-pollard

Version

3.0.0-rc.5

Reproduction link

https://github.com/d-pollard/testing-vue3

Steps to reproduce

Vue CLI generate a new app;
npm run serve

open dev tools; see that window.__VUE__ isn't set

What is expected?

initDev() should run (setting __VUE__ and running setDevtoolsHook with __VUE_DEVTOOLS_GLOBAL_HOOK__)

What is actually happening?

These fields aren't being set; initDev is being called when we build instead


I can add import 'vue/dist/vue.esm-bundler'; in main.js and it'll set properly

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