staskobzar / vue-audio-visual

VueJS audio visualization components
MIT License
722 stars 113 forks source link

does this work also with laravel 8 in combination with vue? #88

Open libertey opened 2 years ago

libertey commented 2 years ago

hey i installed today your package but ther is an mistake what is happening

everytime i run that with mix

`WARNING in ./node_modules/vue-audio-visual/src/components/AvBase.js 173:8-9 export 'h' (imported as 'h') was not found in 'vue' (possible exports: default)

WARNING in ./node_modules/vue-audio-visual/src/components/AvBase.js 175:13-14 export 'h' (imported as 'h') was not found in 'vue' (possible exports: default)

WARNING in ./node_modules/vue-audio-visual/src/components/AvMedia.js 167:8-9 export 'h' (imported as 'h') was not found in 'vue' (possible exports: default)

WARNING in ./node_modules/vue-audio-visual/src/components/AvMedia.js 169:13-14 export 'h' (imported as 'h') was not found in 'vue' (possible exports: default)`

do you know where the error is coming from and what i need to do?

these are my vue dependencies and so on maybe i need an other version?

"devDependencies": { "@popperjs/core": "^2.10.2", "axios": "^0.21", "bootstrap": "^5.1.3", "laravel-mix": "^6.0.6", "lodash": "^4.17.19", "postcss": "^8.1.14", "resolve-url-loader": "^3.1.2", "sass": "^1.32.11", "sass-loader": "^11.0.1", "vue": "^2.6.12", "vue-loader": "^15.9.7", "vue-template-compiler": "^2.6.12" }, "dependencies": { "vue-audio-visual": "^2.4.0" }

staskobzar commented 2 years ago

Hello this is not an error, just a warning. This is a part of Vue3 compatibility code. This warning is displayed for vue2 projects. The warning is not supposed to be displayed in vue3 But, anyway, everything works properly for me with this warning and no problems were yet reported