f / vue-wait

Complex Loader and Progress Management for Vue/Vuex and Nuxt Applications
MIT License
2k stars 101 forks source link

Version conflict fixed between 2.x and 3.x #108

Closed SinanMtl closed 3 years ago

SinanMtl commented 3 years ago

Hi folks! This PR is fixing the conflict problem between Vue 2.x and 3.x. Before the fix, v-wait component cannot registering the app and got error:

Uncaught TypeError: Cannot read property '_c' of undefined

As solution for problem, there are two different build file by version. These files are vue-wait-next.js and vue-wait-v2.js I have been added a version control for Vue and call the build by version. You can see the fix on ./index.js