sagalbot / vue-select

Everything you wish the HTML <select> element could do, wrapped up into a lightweight, extensible Vue component.
https://vue-select.org
MIT License
4.62k stars 1.33k forks source link

Bug: compatibility issue with vite-ssg #1672

Open Albert-Valdes opened 2 years ago

Albert-Valdes commented 2 years ago

Please respect maintainers time by filling in these sections. Your issue will likely be closed without this information.

Describe the bug A clear and concise description of what the bug is.

When using the vue-select component with vite-ssg, the local server runs but returns a console error related to vue-router. One possible reason for the error can be found here

Steps To Reproduce Create a new project and add vite-ssg and vue-select to it. Use the VueSelect component somewhere in one of the routes and in main.ts, use vite-ssg to create the app.

Expected behavior Local server to run without a vue-router error.

Screenshots If applicable, add screen

Screen Shot 2022-08-16 at 4 18 10 PM

shots to help explain your problem.

Screen Shot 2022-08-16 at 4 24 14 PM