Skip to content

Should not use vue inner util, after upgrade everything doesn't worked #192

Closed
@lijing666

Description

@lijing666

latest version of vue-demi added var warn = Vue.util.warn cause all old webpack build doesn't worked

import Vue from 'vue'

var isVue2 = true
var isVue3 = false
var Vue2 = Vue
var warn = Vue.util.warn

this error is Vue.util is undefined

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