AnJayDo / vue-basic-alert

Basic Vue Alert Component for basic use cases.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for NuxtJS

reinacchi opened this issue · comments

Does this support for NuxtJS project? I tried installing it however I'm getting these errors:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree    
npm ERR!
npm ERR! While resolving: hellorein-web@1.0.0
npm ERR! Found: vue@2.6.14
npm ERR! node_modules/vue
npm ERR!   vue@"^2.6.14" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"^3.0.5" from vue-basic-alert@1.1.0
npm ERR! node_modules/vue-basic-alert
npm ERR!   vue-basic-alert@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\vince\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\vince\AppData\Local\npm-cache\_logs\2022-03-17T04_13_09_234Z-debug.log

You can see your project written in Vue 2 but the component support Vue 3 above. So it wont work. Thank you for create the issue.
I highly recommend that you should use the lastest Nuxt version if you want to use the component. https://v3.nuxtjs.org/