thecodealer / vue-panzoom

Vue plugin to zoom/pan dom elements
MIT License
89 stars 20 forks source link

warning in ./node_modules/vue-panzoom/dist/vue-panzoom.esm.js #29

Closed ajmas closed 3 years ago

ajmas commented 3 years ago

Getting the following warnings, in the CLI, when launching a page using 'vue-panzoom', version 1.1.4:

 WARNING  Compiled with 4 warnings                                                                                                                                        10:16:56 p.m.

 warning  in ./node_modules/vue-panzoom/dist/vue-panzoom.esm.js

"export 'createBlock' was not found in 'vue'

 warning  in ./node_modules/vue-panzoom/dist/vue-panzoom.esm.js

"export 'createVNode' was not found in 'vue'

 warning  in ./node_modules/vue-panzoom/dist/vue-panzoom.esm.js

"export 'openBlock' was not found in 'vue'

 warning  in ./node_modules/vue-panzoom/dist/vue-panzoom.esm.js

"export 'renderSlot' was not found in 'vue'

Using with vue 2.6.12

thecodealer commented 3 years ago

kindly downgrade to v1.1.3 if you're using Vue 2 npm install vue-panzoom@1.1.3

ajmas commented 3 years ago

Thanks. Missed that item in the readme.

katyshin commented 3 years ago

It should be added to README

ajmas commented 3 years ago

It is actually in the README, but you need to read the end to see that detail.