Should not use vue inner util, after upgrade everything doesn't worked
See original GitHub issuelatest 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
Issue Analytics
- State:
- Created a year ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
vue.js - Updates to object inside array do not trigger updates
First things first. Using Vue.set isn't going to help. Vue.set is used to set the values of properties that Vue's reactivity system can't ......
Read more >How to use typescript correctly? · Issue #255 · vuejs/vue-test ...
The main issue, is that wrapper.vm is typed as a generic Vue instance. This should probably typed as the component instance in use....
Read more >Common Tips | Vue Test Utils
Common Tips. # Knowing What to Test. For UI components, we don't recommend aiming for complete line-based coverage, because it leads to too...
Read more >Tips for Unit Testing Vue Components with Jest - Medium
Using Jest to unit test Vue.js components can be tricky. We need a separate Vue Test Utils (@vue/test-utils) scoped package in order to ......
Read more >Create Reusable Components with the Vue 3 Composition API
A piece of code is portable when it can be used not only in different places in one project but also in different...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@posva you have build or generate the project, next you have to start the project in your local
yarn start
and you will see the error.Yes, the same issue on
0.13.9
or0.13.10
. after nuxt generate.